pub enum Error {
InvalidIdentity,
NotFound,
Changed,
Unavailable,
InvalidPath,
TooLarge,
Timeout,
InvalidText,
}Expand description
A complete inspection refuses capacity/deadline limits instead of hiding files.
Variants§
InvalidIdentity
The requested identity is malformed.
NotFound
No currently permitted file has this identity.
Changed
A path or opened file changed during inspection.
A filesystem operation failed.
InvalidPath
A path cannot be represented losslessly as bounded UTF-8.
TooLarge
Traversal, file content or entry count exceeds its limit.
Timeout
The cooperative inspection deadline was reached.
InvalidText
Content is not UTF-8 M3U text.
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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