Trait freya::prelude::ReadableOptionExt
pub trait ReadableOptionExt<T>: Readable<Target = Option<T>>where
T: 'static,{
// Provided methods
fn unwrap(&self) -> T
where T: Clone { ... }
fn as_ref(&self) -> Option<<Self::Storage as AnyStorage>::Ref<T>> { ... }
}
Expand description
An extension trait for Readable<Option
Provided Methods§
fn as_ref(&self) -> Option<<Self::Storage as AnyStorage>::Ref<T>>
fn as_ref(&self) -> Option<<Self::Storage as AnyStorage>::Ref<T>>
Attempts to read the inner value of the Option.
Object Safety§
This trait is not object safe.