pub enum GitPathError {
EscapesRoot,
InvalidRelativeUrl,
}Expand description
Errors returned by Git-compatible path helper routines.
Variants§
EscapesRoot
Normalization would escape above the root.
InvalidRelativeUrl
A relative URL cannot be resolved against the provided remote URL.
Trait Implementations§
Source§impl Clone for GitPathError
impl Clone for GitPathError
Source§fn clone(&self) -> GitPathError
fn clone(&self) -> GitPathError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitPathError
impl Debug for GitPathError
Source§impl PartialEq for GitPathError
impl PartialEq for GitPathError
impl Copy for GitPathError
impl Eq for GitPathError
impl StructuralPartialEq for GitPathError
Auto Trait Implementations§
impl Freeze for GitPathError
impl RefUnwindSafe for GitPathError
impl Send for GitPathError
impl Sync for GitPathError
impl Unpin for GitPathError
impl UnsafeUnpin for GitPathError
impl UnwindSafe for GitPathError
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