Enum pem_rfc7468::LineEnding [−][src]
pub enum LineEnding {
CR,
LF,
CRLF,
}
Expand description
Line endings.
Use LineEnding::default
to get an appropriate line ending for the
current operating system.
Variants
Carriage return: \r
(Pre-OS X Macintosh)
Line feed: \n
(Unix OSes)
Carriage return + line feed: \r\n
(Windows)
Implementations
Trait Implementations
Use the line ending for the current OS
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for LineEnding
impl Send for LineEnding
impl Sync for LineEnding
impl Unpin for LineEnding
impl UnwindSafe for LineEnding
Blanket Implementations
Mutably borrows from an owned value. Read more