Enum flep::FileType
[−]
[src]
pub enum FileType { AsciiText(TextFormat), EbcdicText(TextFormat), Binary, LocalFormat { bits_per_byte: u8, }, }
Variants
AsciiText(TextFormat)
EbcdicText(TextFormat)
Binary
LocalFormat
Fields of LocalFormat
bits_per_byte: u8 |
Methods
impl FileType
[src]
Trait Implementations
impl Eq for FileType
[src]
impl Copy for FileType
[src]
impl Argument for FileType
[src]
fn read(read: &mut BufRead) -> Result<FileType, Error>
fn write(&self, write: &mut Write) -> Result<(), Error>
impl PartialEq<FileType> for FileType
[src]
fn eq(&self, __arg_0: &FileType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FileType) -> bool
This method tests for !=
.
impl Debug for FileType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for FileType
[src]
fn clone(&self) -> FileType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more