Enum pkcs1::LineEnding
source · [−]pub enum LineEnding {
CR,
LF,
CRLF,
}
This is supported on crate feature
pem
only.Expand description
Line endings.
Use LineEnding::default
to get an appropriate line ending for the
current operating system.
Variants
CR
Carriage return: \r
(Pre-OS X Macintosh)
LF
Line feed: \n
(Unix OSes)
CRLF
Carriage return + line feed: \r\n
(Windows)
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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