Trait cushy::value::DynamicRead

source ·
pub trait DynamicRead<T> {
    // Required method
    fn read(&self) -> DynamicGuard<'_, T, true>;
}
Expand description

Read access to a value stored in a Dynamic.

Required Methods§

source

fn read(&self) -> DynamicGuard<'_, T, true>

Returns a guard that provides exclusive, read-only access to the value contained wihtin this dynamic.

Implementors§