[][src]Struct append_log::Log

pub struct Log { /* fields omitted */ }

Methods

impl Log[src]

pub fn open_default(path: &Path) -> Result<Self, Error>[src]

pub fn open(path: &Path, options: Options) -> Result<Self, Error>[src]

pub fn is_empty(&self) -> bool[src]

pub fn last_data_off(&self) -> u64[src]

pub fn repair(&self) -> Result<(), Error>[src]

pub fn append(&mut self, data: &[u8]) -> u64[src]

pub fn read(&mut self, off: u64) -> Result<Chunk, Error>[src]

pub fn flush(&mut self) -> Result<(), Error>[src]

pub fn iter(&mut self) -> Result<EntryIterator, Error>[src]

Trait Implementations

impl Debug for Log[src]

Auto Trait Implementations

impl Send for Log

impl Sync for Log

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]