pub struct Environment<A: App> { /* private fields */ }
Expand description
Application environment.
Implementations§
Source§impl<A> Environment<A>where
A: App,
impl<A> Environment<A>where
A: App,
Sourcepub fn runtime_id(&self) -> Namespace
pub fn runtime_id(&self) -> Namespace
Runtime identifier.
Sourcepub fn untrusted_local_config(&self) -> BTreeMap<String, Value>
pub fn untrusted_local_config(&self) -> BTreeMap<String, Value>
Untrusted local runtime configuration defined by the node operator where the node hosting the ROFL app is running.
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for Environment<A>
impl<A> !RefUnwindSafe for Environment<A>
impl<A> Send for Environment<A>
impl<A> Sync for Environment<A>
impl<A> Unpin for Environment<A>
impl<A> !UnwindSafe for Environment<A>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more