pub enum Mode {
Standard,
Block(usize),
Unblock(usize),
}
Expand description
The Mode that DD runs in.
Variants§
Standard
Byte for byte IO. This is the default.
Block(usize)
Fixed-sized records separated by newlines, padded or trunctated to
usize
. Specified by input option “block”
Unblock(usize)
Read fixed numbers of bytes and output separated by newlines, ignoring trailing spaces. Specified by input option “unblock”
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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