pub enum RepositoryPathError {
Empty,
TooLong {
len: usize,
max: usize,
},
ContainsNul,
Absolute,
EmptyComponent,
CurrentDirectoryComponent,
ParentDirectoryComponent,
}Variants§
Empty
TooLong
ContainsNul
Absolute
EmptyComponent
CurrentDirectoryComponent
ParentDirectoryComponent
Trait Implementations§
Source§impl Clone for RepositoryPathError
impl Clone for RepositoryPathError
Source§impl Debug for RepositoryPathError
impl Debug for RepositoryPathError
Source§impl Display for RepositoryPathError
impl Display for RepositoryPathError
impl Eq for RepositoryPathError
Source§impl Error for RepositoryPathError
impl Error for RepositoryPathError
1.30.0 · 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()
Source§impl PartialEq for RepositoryPathError
impl PartialEq for RepositoryPathError
impl StructuralPartialEq for RepositoryPathError
Auto Trait Implementations§
impl Freeze for RepositoryPathError
impl RefUnwindSafe for RepositoryPathError
impl Send for RepositoryPathError
impl Sync for RepositoryPathError
impl Unpin for RepositoryPathError
impl UnsafeUnpin for RepositoryPathError
impl UnwindSafe for RepositoryPathError
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