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
UnixDos
Trait Implementations
impl Clone for NewLineFormat[src]
impl Clone for NewLineFormatfn clone(&self) -> NewLineFormat[src]
fn clone(&self) -> NewLineFormatReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for NewLineFormat[src]
impl Copy for NewLineFormatimpl Debug for NewLineFormat[src]
impl Debug for NewLineFormatfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for NewLineFormat[src]
impl Eq for NewLineFormatimpl PartialEq for NewLineFormat[src]
impl PartialEq for NewLineFormatfn eq(&self, __arg_0: &NewLineFormat) -> bool[src]
fn eq(&self, __arg_0: &NewLineFormat) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &NewLineFormat) -> bool[src]
fn ne(&self, __arg_0: &NewLineFormat) -> boolThis method tests for !=.
impl Hash for NewLineFormat[src]
impl Hash for NewLineFormatAuto Trait Implementations
impl Send for NewLineFormat
impl Send for NewLineFormatimpl Sync for NewLineFormat
impl Sync for NewLineFormat