pub trait PersistentInto<T> {
// Required method
fn persistent_into(self) -> T;
}Expand description
Helper trait for overloading the constructors of Read/Write/State.
This is an implementation detail, and should not be used for any other
purpose.
For example, this trait lets you construct a Read<T> from either a T or
an Arc<T>.
Required Methods§
Sourcefn persistent_into(self) -> T
fn persistent_into(self) -> T
Convert self into a value of type T.