Enum radicle_surf::fs::error::Directory
source · pub enum Directory {
Git(Error),
File(File),
InvalidPath(PathBuf),
InvalidType(PathBuf, &'static str),
Utf8Error,
PathNotFound(PathBuf),
Submodule(Submodule),
}
Variants§
Git(Error)
File(File)
InvalidPath(PathBuf)
InvalidType(PathBuf, &'static str)
Utf8Error
PathNotFound(PathBuf)
Submodule(Submodule)
Trait Implementations§
source§impl Error for Directory
impl Error for Directory
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()
impl StructuralPartialEq for Directory
Auto Trait Implementations§
impl Freeze for Directory
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnwindSafe for Directory
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