Trait db_core::Read[][src]

pub trait Read {
    fn get_id(&self) -> ObjectId;
fn seek(&mut self, pos: u64) -> Result<u64, Error>;
fn read_next(&mut self, buf: &mut [u8]) -> Result<usize, Error>; }

Required methods

fn get_id(&self) -> ObjectId[src]

fn seek(&mut self, pos: u64) -> Result<u64, Error>[src]

fn read_next(&mut self, buf: &mut [u8]) -> Result<usize, Error>[src]

Loading content...

Implementors

impl<'a> Read for Object<'a>[src]

impl<'a> Read for ObjectWrite<'a>[src]

Loading content...