pub enum VdirError {
RootMissing(PathBuf),
ReadPath {
path: PathBuf,
source: Error,
},
PathOutsideRoot {
root: PathBuf,
path: PathBuf,
},
InvalidCalendarName(String),
InvalidEventPath(PathBuf),
}Variants§
RootMissing(PathBuf)
ReadPath
PathOutsideRoot
InvalidCalendarName(String)
InvalidEventPath(PathBuf)
Trait Implementations§
Source§impl Error for VdirError
impl Error for VdirError
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 VdirError
impl !RefUnwindSafe for VdirError
impl Send for VdirError
impl Sync for VdirError
impl Unpin for VdirError
impl UnsafeUnpin for VdirError
impl !UnwindSafe for VdirError
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