pub trait IoToZ<T>: Sized{
// Required methods
fn as_z(self) -> Result<T, Error>;
fn pretty_unwrap(self) -> T;
}
Expand description
IO to Z.
Required Methods§
sourcefn pretty_unwrap(self) -> T
fn pretty_unwrap(self) -> T
A pretty unwrap method.
Object Safety§
This trait is not object safe.