Enum flep_protocol::file_type::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]
fn ascii() -> Self
Trait Implementations
impl Copy for FileType
[src]
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
impl Debug for FileType
[src]
impl PartialEq 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 Eq for FileType
[src]
impl Argument for FileType
[src]
fn read(read: &mut BufRead) -> Result<Self, Error>
fn write(&self, write: &mut Write) -> Result<(), Error>
fn read_with_space(read: &mut BufRead) -> Result<Self, Error>
Read an argument with a leading space character. Read more