pub struct RestoreProgress {
pub state: RestoreState,
pub bytes_transferred: u64,
pub files_transferred: u32,
pub elapsed: Duration,
}Expand description
Progress information for a network restore operation.
Fields§
§state: RestoreStateCurrent state of the restore.
bytes_transferred: u64Total bytes transferred so far.
files_transferred: u32Total files transferred so far.
elapsed: DurationTime elapsed since the restore started.
Trait Implementations§
Source§impl Clone for RestoreProgress
impl Clone for RestoreProgress
Source§fn clone(&self) -> RestoreProgress
fn clone(&self) -> RestoreProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RestoreProgress
impl RefUnwindSafe for RestoreProgress
impl Send for RestoreProgress
impl Sync for RestoreProgress
impl Unpin for RestoreProgress
impl UnsafeUnpin for RestoreProgress
impl UnwindSafe for RestoreProgress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more