Enum pgp::line_writer::LineBreak
source · #[repr(u8)]
pub enum LineBreak {
Crlf,
Lf,
Cr,
}
Variants§
Trait Implementations§
source§impl PartialEq<LineBreak> for LineBreak
impl PartialEq<LineBreak> for LineBreak
impl Copy for LineBreak
impl Eq for LineBreak
impl StructuralEq for LineBreak
impl StructuralPartialEq for LineBreak
Auto Trait Implementations§
impl RefUnwindSafe for LineBreak
impl Send for LineBreak
impl Sync for LineBreak
impl Unpin for LineBreak
impl UnwindSafe for LineBreak
Blanket Implementations§
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)