pub struct DdConv {
pub lcase: bool,
pub ucase: bool,
pub swab: bool,
pub noerror: bool,
pub notrunc: bool,
pub sync: bool,
pub fdatasync: bool,
pub fsync: bool,
pub excl: bool,
pub nocreat: bool,
}Expand description
Conversion flags for dd (conv= option).
Fields§
§lcase: boolConvert to lowercase.
ucase: boolConvert to uppercase.
swab: boolSwap every pair of input bytes.
noerror: boolContinue after read errors.
notrunc: boolDo not truncate the output file.
sync: boolPad every input block with NULs to ibs-size.
fdatasync: boolCall fdatasync on output before finishing.
fsync: boolCall fsync on output before finishing.
excl: boolFail if the output file already exists.
nocreat: boolDo not create the output file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DdConv
impl RefUnwindSafe for DdConv
impl Send for DdConv
impl Sync for DdConv
impl Unpin for DdConv
impl UnsafeUnpin for DdConv
impl UnwindSafe for DdConv
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