Enum ftp::types::FormatControl [] [src]

pub enum FormatControl {
    Default,
    NonPrint,
    Telnet,
    Asa,
}

Text Format Control used in TYPE command

Variants

Default

Default text format control (is NonPrint)

NonPrint

Non-print (not destined for printing)

Telnet

Telnet format control (<CR>, <FF>, etc.)

Asa

ASA (Fortran) Carriage Control

Trait Implementations

impl Ord for FormatControl
[src]

fn cmp(&self, __arg_0: &FormatControl) -> Ordering

This method returns an Ordering between self and other. Read more

impl PartialOrd for FormatControl
[src]

fn partial_cmp(&self, __arg_0: &FormatControl) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, other: &Rhs) -> bool
1.0.0

This method tests less than (for self and other) and is used by the < operator. Read more

fn le(&self, other: &Rhs) -> bool
1.0.0

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn gt(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than (for self and other) and is used by the > operator. Read more

fn ge(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for FormatControl
[src]

impl PartialEq for FormatControl
[src]

fn eq(&self, __arg_0: &FormatControl) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for FormatControl
[src]

fn clone(&self) -> FormatControl

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 FormatControl
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl ToString for FormatControl
[src]

fn to_string(&self) -> String

Converts the given value to a String. Read more