Skip to main content

ReaderExt

Trait ReaderExt 

Source
pub trait ReaderExt {
    // Required method
    fn read_object<T>(&self, offset: u64) -> Result<T, ReaderError>
       where T: FromBytes + IntoBytes + Sized;
}

Required Methods§

Source

fn read_object<T>(&self, offset: u64) -> Result<T, ReaderError>
where T: FromBytes + IntoBytes + Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ReaderExt for dyn Reader + '_