Trait LayerFailSafeReader

Source
pub trait LayerFailSafeReader<'a, R: Read>: Read {
    // Required methods
    fn into_inner(self) -> Option<Box<dyn LayerFailSafeReader<'a, R> + 'a>>;
    fn into_raw(self: Box<Self>) -> R;
}
Expand description

Trait to be implemented by layer for their fail-safe mode reading

Required Methods§

Source

fn into_inner(self) -> Option<Box<dyn LayerFailSafeReader<'a, R> + 'a>>

Unwraps the inner reader

Source

fn into_raw(self: Box<Self>) -> R

Unwraps the original I/O reader

Implementors§