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
Unix
Dos
Trait Implementations
impl Clone for NewLineFormat
[src]
impl Clone for NewLineFormat
fn clone(&self) -> NewLineFormat
[src]
fn clone(&self) -> NewLineFormat
Returns 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 NewLineFormat
impl Debug for NewLineFormat
[src]
impl Debug for NewLineFormat
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for NewLineFormat
[src]
impl Eq for NewLineFormat
impl PartialEq for NewLineFormat
[src]
impl PartialEq for NewLineFormat
fn eq(&self, __arg_0: &NewLineFormat) -> bool
[src]
fn eq(&self, __arg_0: &NewLineFormat) -> bool
This 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) -> bool
This method tests for !=
.
impl Hash for NewLineFormat
[src]
impl Hash for NewLineFormat
Auto Trait Implementations
impl Send for NewLineFormat
impl Send for NewLineFormat
impl Sync for NewLineFormat
impl Sync for NewLineFormat