pub enum SourceFileErrorType {
InvalidPathPrefix,
Io(Error),
NonUtf8Module(PathBuf),
Walk(Error),
}Variants§
InvalidPathPrefix
Io(Error)
NonUtf8Module(PathBuf)
Walk(Error)
An entry walkdir failed to yield while walking the package root — a root
that doesn’t exist, a directory the process can’t read, or a symbolic-link
loop it detected (see WalkDir::follow_links on why the walk can hit one).
Trait Implementations§
Source§impl Debug for SourceFileErrorType
impl Debug for SourceFileErrorType
Source§impl From<Error> for SourceFileErrorType
impl From<Error> for SourceFileErrorType
Source§impl From<StripPrefixError> for SourceFileErrorType
impl From<StripPrefixError> for SourceFileErrorType
Source§fn from(_err: StripPrefixError) -> Self
fn from(_err: StripPrefixError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SourceFileErrorType
impl !UnwindSafe for SourceFileErrorType
impl Freeze for SourceFileErrorType
impl Send for SourceFileErrorType
impl Sync for SourceFileErrorType
impl Unpin for SourceFileErrorType
impl UnsafeUnpin for SourceFileErrorType
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