pub enum ProjectViewError {
NonCanonicalRoot(PathBuf),
InvalidDeclaredPath(PathBuf),
SymbolicLink(PathBuf),
InvalidPathType(PathBuf),
LimitExceeded {
limit_name: &'static str,
limit: usize,
path: PathBuf,
},
Io {
path: PathBuf,
source: Error,
},
InvalidSource {
path: PathBuf,
message: String,
},
}Variants§
NonCanonicalRoot(PathBuf)
InvalidDeclaredPath(PathBuf)
SymbolicLink(PathBuf)
InvalidPathType(PathBuf)
LimitExceeded
Io
InvalidSource
Trait Implementations§
Source§impl Debug for ProjectViewError
impl Debug for ProjectViewError
Source§impl Display for ProjectViewError
impl Display for ProjectViewError
Source§impl Error for ProjectViewError
impl Error for ProjectViewError
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 !RefUnwindSafe for ProjectViewError
impl !UnwindSafe for ProjectViewError
impl Freeze for ProjectViewError
impl Send for ProjectViewError
impl Sync for ProjectViewError
impl Unpin for ProjectViewError
impl UnsafeUnpin for ProjectViewError
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