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§
sourcefn read(&self) -> DynamicGuard<'_, T, true>
fn read(&self) -> DynamicGuard<'_, T, true>
Returns a guard that provides exclusive, read-only access to the value contained wihtin this dynamic.