Trait raftstore::store::snap::GenericSnapshot[][src]

pub trait GenericSnapshot: Read + Write + Send {
    fn path(&self) -> &str;
fn exists(&self) -> bool;
fn delete(&self);
fn meta(&self) -> Result<Metadata>;
fn total_size(&self) -> Result<u64>;
fn save(&mut self) -> Result<()>; }

GenericSnapshot is a snapshot not tied to any KV engines.

Required methods

fn path(&self) -> &str[src]

fn exists(&self) -> bool[src]

fn delete(&self)[src]

fn meta(&self) -> Result<Metadata>[src]

fn total_size(&self) -> Result<u64>[src]

fn save(&mut self) -> Result<()>[src]

Loading content...

Implementors

impl GenericSnapshot for Snap[src]

Loading content...