Trait lzss::ResultLzssErrorVoidWriteExt [−][src]
pub trait ResultLzssErrorVoidWriteExt<E, T>: Sized {
fn void_write_unwrap(self) -> Result<T, E>;
}
Expand description
Conversion from Result<T, LzssError<E, Void>>
to Result<T, E>
.
It removes the statically known LzssError layer from the Result.
Required methods
fn void_write_unwrap(self) -> Result<T, E>
fn void_write_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.