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§
Sourcefn into_inner(self) -> Option<Box<dyn LayerFailSafeReader<'a, R> + 'a>>
fn into_inner(self) -> Option<Box<dyn LayerFailSafeReader<'a, R> + 'a>>
Unwraps the inner reader