Trait lzss::ResultLzssErrorVoidExt
source · pub trait ResultLzssErrorVoidExt<T>: Sized {
// Required method
fn void_unwrap(self) -> T;
}
Expand description
Conversion from Result<T, LzssError<Void, Void>>
to T
.
Required Methods§
sourcefn void_unwrap(self) -> T
fn void_unwrap(self) -> T
Get the value out of a wrapper.
Implementations on Foreign Types§
source§impl<T> ResultLzssErrorVoidExt<T> for Result<T, LzssError<Void, Void>>
impl<T> ResultLzssErrorVoidExt<T> for Result<T, LzssError<Void, Void>>
source§fn void_unwrap(self) -> T
fn void_unwrap(self) -> T
Get the value out of an always-ok Result.
Never panics, since it is statically known to be Ok.