Trait lzss::ResultLzssErrorVoidReadExt [−][src]
pub trait ResultLzssErrorVoidReadExt<E, T>: Sized { fn void_read_unwrap(self) -> Result<T, E>; }
Expand description
Conversion from Result<T, LzssError<Void, E>>
to Result<T, E>
.
It removes the statically known LzssError layer from the Result.
Required methods
fn void_read_unwrap(self) -> Result<T, E>
fn void_read_unwrap(self) -> Result<T, E>
Remove the LzssError layer from the Result.
Implementations on Foreign Types
Remove the LzssError layer from the Result.
Never panics, since it is statically known to be Ok.