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
impl Copy for GitPathError
Source§impl Debug for GitPathError
impl Debug for GitPathError
impl Eq for GitPathError
Source§impl PartialEq for GitPathError
impl PartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.