pub struct CopyResult {
pub bytes_total: u64,
pub bytes_good: u64,
pub bytes_unreadable: u64,
pub bytes_pending: u64,
pub complete: bool,
pub halted: bool,
}Expand description
Result of Disc::copy. complete=true means every byte reached a terminal
state (Finished or Unreadable). complete=false means there’s still pending
work (halt, abort, or non-tried ranges) that Disc::patch or a resumed
Disc::copy would continue.
Fields§
§bytes_total: u64§bytes_good: u64§bytes_unreadable: u64§bytes_pending: u64§complete: bool§halted: boolTrait Implementations§
Source§impl Clone for CopyResult
impl Clone for CopyResult
Source§fn clone(&self) -> CopyResult
fn clone(&self) -> CopyResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CopyResult
impl Debug for CopyResult
impl Copy for CopyResult
Auto Trait Implementations§
impl Freeze for CopyResult
impl RefUnwindSafe for CopyResult
impl Send for CopyResult
impl Sync for CopyResult
impl Unpin for CopyResult
impl UnsafeUnpin for CopyResult
impl UnwindSafe for CopyResult
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