pub enum IcalWirePart<'a> {
Fold {
crlf: bool,
wsp: u8,
},
Soft {
crlf: bool,
},
Skipped(Cow<'a, str>),
}Available on crate feature
parser only.Expand description
One piece of wire the parser resolved away.
Variants§
Fold
An RFC 5545 3.1 fold: a line break, then the single whitespace that marked the continuation.
Fields
Soft
A QUOTED-PRINTABLE soft line break: an = and the break after it.
Skipped(Cow<'a, str>)
Bytes taken verbatim off the wire and dropped: the blank lines before a
content line, the whitespace of a dangling continuation, or a trailing
= left over from a soft break with nothing to continue.
Trait Implementations§
Source§impl<'a> Clone for IcalWirePart<'a>
impl<'a> Clone for IcalWirePart<'a>
Source§fn clone(&self) -> IcalWirePart<'a>
fn clone(&self) -> IcalWirePart<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for IcalWirePart<'a>
impl<'a> RefUnwindSafe for IcalWirePart<'a>
impl<'a> Send for IcalWirePart<'a>
impl<'a> Sync for IcalWirePart<'a>
impl<'a> Unpin for IcalWirePart<'a>
impl<'a> UnsafeUnpin for IcalWirePart<'a>
impl<'a> UnwindSafe for IcalWirePart<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more