Trait db_core::instance::Read[][src]

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

Reading operations.

Required methods

Returns object id.

Seek to a certain position starting from the beginnging or from the current position.

Read next portion of data.

Implementors