pub enum TransportPathError {
OptionLikePath(String),
}Expand description
Errors returned while validating local transport paths.
Variants§
OptionLikePath(String)
A repository path begins with - and could be interpreted as a command option.
Trait Implementations§
Source§impl Clone for TransportPathError
impl Clone for TransportPathError
Source§fn clone(&self) -> TransportPathError
fn clone(&self) -> TransportPathError
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 TransportPathError
impl Debug for TransportPathError
Source§impl Display for TransportPathError
impl Display for TransportPathError
Source§impl Error for TransportPathError
impl Error for TransportPathError
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 TransportPathError
impl PartialEq for TransportPathError
impl Eq for TransportPathError
impl StructuralPartialEq for TransportPathError
Auto Trait Implementations§
impl Freeze for TransportPathError
impl RefUnwindSafe for TransportPathError
impl Send for TransportPathError
impl Sync for TransportPathError
impl Unpin for TransportPathError
impl UnsafeUnpin for TransportPathError
impl UnwindSafe for TransportPathError
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