pub enum FileType {
Ascii(FormatControl),
Ebcdic(FormatControl),
Image,
Binary,
Local(u8),
}
Expand description
File Type used in TYPE
command
Variants§
Ascii(FormatControl)
ASCII text (the argument is the text format control)
Ebcdic(FormatControl)
EBCDIC text (the argument is the text format control)
Image
Image,
Binary
Binary (the synonym to Image)
Local(u8)
Local format (the argument is the number of bits in one byte on local machine)
Trait Implementations§
source§impl Ord for FileType
impl Ord for FileType
source§impl PartialEq for FileType
impl PartialEq for FileType
source§impl PartialOrd for FileType
impl PartialOrd for FileType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for FileType
impl StructuralPartialEq for FileType
Auto Trait Implementations§
impl Freeze for FileType
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
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