#[non_exhaustive]pub enum Entry {
VCard(VCard),
ICalendar(ICalendar),
InvalidLine(String),
UnexpectedComponentEnd {
expected: ICalendarComponentType,
found: ICalendarComponentType,
},
UnterminatedComponent(Cow<'static, str>),
TooManyComponents,
Eof,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VCard(VCard)
ICalendar(ICalendar)
InvalidLine(String)
UnexpectedComponentEnd
UnterminatedComponent(Cow<'static, str>)
TooManyComponents
Eof
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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