pub enum SourceError {
Io(ErrorKind),
NotRegular,
TooLarge,
Changed,
Invalid(ParseError),
}Expand description
Content-free reason an observation failed. The last-good vocabulary remains available.
Variants§
Io(ErrorKind)
The source could not be opened, read or inspected.
NotRegular
Only regular files, including symlinks resolving to regular files, are eligible.
TooLarge
The source exceeds the byte bound.
Changed
Identity, size or timestamps changed during acquisition.
Invalid(ParseError)
The complete candidate is outside the supported word-list format.
Trait Implementations§
Source§impl Clone for SourceError
impl Clone for SourceError
Source§fn clone(&self) -> SourceError
fn clone(&self) -> SourceError
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 moreimpl Copy for SourceError
Source§impl Debug for SourceError
impl Debug for SourceError
impl Eq for SourceError
Source§impl PartialEq for SourceError
impl PartialEq for SourceError
impl StructuralPartialEq for SourceError
Auto Trait Implementations§
impl Freeze for SourceError
impl RefUnwindSafe for SourceError
impl Send for SourceError
impl Sync for SourceError
impl Unpin for SourceError
impl UnsafeUnpin for SourceError
impl UnwindSafe for SourceError
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