Enum gmime::NewLineFormat[][src]

pub enum NewLineFormat {
    Unix,
    Dos,
    // some variants omitted
}

There are two commonly used line-endings used by modern Operating Systems. Unix-based systems such as Linux and Mac OS use a single character ('\n' aka LF) to represent the end of line where-as Windows (or DOS) uses a sequence of two characters ("\r\n" aka CRLF). Most text-based network protocols such as SMTP, POP3, and IMAP use the CRLF sequence as well.

Variants

Trait Implementations

impl Clone for NewLineFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NewLineFormat
[src]

impl Debug for NewLineFormat
[src]

Formats the value using the given formatter. Read more

impl Eq for NewLineFormat
[src]

impl PartialEq for NewLineFormat
[src]

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

This method tests for !=.

impl Hash for NewLineFormat
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for NewLineFormat

impl Sync for NewLineFormat