pub trait ResultLzssErrorVoidReadExt<E, T>: Sized {
    // Required method
    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§

source

fn void_read_unwrap(self) -> Result<T, E>

Remove the LzssError layer from the Result.

Implementations on Foreign Types§

source§

impl<E, T> ResultLzssErrorVoidReadExt<E, T> for Result<T, LzssError<Void, E>>

source§

fn void_read_unwrap(self) -> Result<T, E>

Remove the LzssError layer from the Result.

Never panics, since it is statically known to be Ok.

Implementors§