pub enum ErrorKind {
MissingFileMode,
MissingLinkCount,
MissingOwner,
MissingGroup,
MissingSize,
InvalidSize {
token: String,
},
MissingMonth,
MissingDay,
MissingTimestamp,
MissingName,
EmptyQuotedName,
InvalidEscapeSequence,
}Expand description
Possible parsing error kinds when processing ls -lpa output.
Variants§
MissingFileMode
Missing file mode column.
MissingLinkCount
Missing link count column.
MissingOwner
Missing owner column.
MissingGroup
Missing group column.
MissingSize
Missing size column.
InvalidSize
Found a size column that is not a number.
MissingMonth
Missing timestamp month column.
MissingDay
Missing timestamp day column.
MissingTimestamp
Missing timestamp time or year column.
MissingName
Missing file or directory name.
EmptyQuotedName
Found an empty quoted name.
InvalidEscapeSequence
Found an unterminated escape sequence in a quoted name.
Trait Implementations§
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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