pub enum IcalJcalError {
NotAComponent,
NotACalendar(String),
}Available on crate feature
jcal only.Expand description
What a jCal value cannot be read as.
Only the shape of the document is refused; everything inside it is read liberally, so this is a short list on purpose.
Variants§
NotAComponent
The document is not a [name, [properties], [components]] array.
NotACalendar(String)
The outermost component is not a vcalendar.
Trait Implementations§
Source§impl Clone for IcalJcalError
impl Clone for IcalJcalError
Source§fn clone(&self) -> IcalJcalError
fn clone(&self) -> IcalJcalError
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 moreSource§impl Debug for IcalJcalError
impl Debug for IcalJcalError
Source§impl Display for IcalJcalError
impl Display for IcalJcalError
impl Eq for IcalJcalError
Source§impl Error for IcalJcalError
impl Error for IcalJcalError
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()
Source§impl PartialEq for IcalJcalError
impl PartialEq for IcalJcalError
impl StructuralPartialEq for IcalJcalError
Auto Trait Implementations§
impl Freeze for IcalJcalError
impl RefUnwindSafe for IcalJcalError
impl Send for IcalJcalError
impl Sync for IcalJcalError
impl Unpin for IcalJcalError
impl UnsafeUnpin for IcalJcalError
impl UnwindSafe for IcalJcalError
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