pub enum MsgraphEventIcalError {
Parse(IcalParseError),
NoEvent,
NotAnEvent(String),
NoZonedStart,
NoEnd,
UnsupportedRecurrence(String),
Json(Error),
}Available on crate feature
ical only.Expand description
An iCalendar document that cannot become a Graph event.
Variants§
Parse(IcalParseError)
The document does not parse.
NoEvent
The document holds no VEVENT.
NotAnEvent(String)
The document holds a component Graph does not model.
NoZonedStart
The VEVENT starts neither on a date, in UTC nor in a named zone.
NoEnd
The VEVENT has neither a DTEND nor a DURATION.
UnsupportedRecurrence(String)
The RRULE has no Graph recurrence pattern.
Json(Error)
The projected event does not reshape through JSON.
Trait Implementations§
Source§impl Debug for MsgraphEventIcalError
impl Debug for MsgraphEventIcalError
Source§impl Display for MsgraphEventIcalError
impl Display for MsgraphEventIcalError
Source§impl Error for MsgraphEventIcalError
impl Error for MsgraphEventIcalError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MsgraphEventIcalError
impl RefUnwindSafe for MsgraphEventIcalError
impl Send for MsgraphEventIcalError
impl Sync for MsgraphEventIcalError
impl Unpin for MsgraphEventIcalError
impl UnsafeUnpin for MsgraphEventIcalError
impl UnwindSafe for MsgraphEventIcalError
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