[][src]Struct rusqlite::backup::Progress

pub struct Progress {
    pub remaining: c_int,
    pub pagecount: c_int,
}

feature = "backup" Struct specifying the progress of a backup. The percentage completion can be calculated as (pagecount - remaining) / pagecount. The progress of a backup is as of the last call to step - if the source database is modified after a call to step, the progress value will become outdated and potentially incorrect.

Fields

remaining: c_int

Number of pages in the source database that still need to be backed up.

pagecount: c_int

Total number of pages in the source database.

Trait Implementations

impl Clone for Progress[src]

impl Copy for Progress[src]

impl Debug for Progress[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.