pub enum IcalError {
NotUtf8,
InvalidSyntax(String),
InvalidSemantics(String),
NoEvent,
}Expand description
Errors returned by parse_invite.
Variants§
NotUtf8
Input bytes were not valid UTF-8 (RFC 5545 §3.1.4 mandates UTF-8).
InvalidSyntax(String)
Lexer / property-tree level failure.
InvalidSemantics(String)
AST is well-formed but semantic typing failed (e.g. missing UID, bad METHOD).
NoEvent
No VEVENT component found in the VCALENDAR.
Trait Implementations§
impl Eq for IcalError
impl StructuralPartialEq for IcalError
Auto Trait Implementations§
impl Freeze for IcalError
impl RefUnwindSafe for IcalError
impl Send for IcalError
impl Sync for IcalError
impl Unpin for IcalError
impl UnsafeUnpin for IcalError
impl UnwindSafe for IcalError
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