Struct rocksdb::checkpoint::Checkpoint[][src]

pub struct Checkpoint<'db> { /* fields omitted */ }

Database’s checkpoint object. Used to create checkpoints of the specified DB from time to time.

Implementations

impl<'db> Checkpoint<'db>[src]

pub fn new(db: &'db DB) -> Result<Checkpoint<'db>, Error>[src]

Creates new checkpoint object for specific DB.

Does not actually produce checkpoints, call .create_checkpoint() method to produce a DB checkpoint.

pub fn create_checkpoint<P: AsRef<Path>>(&self, path: P) -> Result<(), Error>[src]

Creates new physical DB checkpoint in directory specified by path.

Trait Implementations

impl<'db> Drop for Checkpoint<'db>[src]

Auto Trait Implementations

impl<'db> RefUnwindSafe for Checkpoint<'db>

impl<'db> !Send for Checkpoint<'db>

impl<'db> !Sync for Checkpoint<'db>

impl<'db> Unpin for Checkpoint<'db>

impl<'db> UnwindSafe for Checkpoint<'db>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.