Struct salak::wrapper::IORef [−][src]
pub struct IORef<T>(_, _);
Expand description
A wrapper of T
that can be updated when reloading configurations.
Implementations
Get value from reference.
Trait Implementations
impl<T> DescFromEnvironment for IORef<T> where
T: Clone + DescFromEnvironment + Send + 'static,
This is supported on crate feature derive
only.
impl<T> DescFromEnvironment for IORef<T> where
T: Clone + DescFromEnvironment + Send + 'static,
This is supported on crate feature
derive
only.Generate key description from SalakDescContext
. Read more
fn from_env(
val: Option<Property<'_>>,
env: &mut SalakContext<'_>
) -> Result<Self, PropertyError>
fn from_env(
val: Option<Property<'_>>,
env: &mut SalakContext<'_>
) -> Result<Self, PropertyError>
Generate object from SalakContext
. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for IORef<T>
impl<T> !UnwindSafe for IORef<T>
Blanket Implementations
Mutably borrows from an owned value. Read more