pub enum Success {
Bytes {
bytes: usize,
start: SystemTime,
},
Unblock {
blocks: usize,
block_size: usize,
start: SystemTime,
},
Block {
lines: usize,
truncated: usize,
padded: usize,
block_size: usize,
start: SystemTime,
},
}
Expand description
A successful output from dd
Variants§
Bytes
Normal operation reports the number of bytes copied.
Corresponds to opts::Mode::Standard
Unblock
Unblock reports the number of fixed-sized records copied and the block
size. Corresponds to opts::Mode::Unblock
Fields
§
start: SystemTime
Block
Trait Implementations§
impl Eq for Success
impl StructuralPartialEq for Success
Auto Trait Implementations§
impl Freeze for Success
impl RefUnwindSafe for Success
impl Send for Success
impl Sync for Success
impl Unpin for Success
impl UnwindSafe for Success
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