Enum git_repository::remote::save::AsError
source · pub enum AsError {
Save(Error),
Name(Error),
}
Expand description
The error returned by Remote::save_as_to()
.
Note that this type should rather be in the as
module, but cannot be as it’s part of the Rust syntax.
Variants§
Trait Implementations§
source§impl Error for AsError
impl Error for AsError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for AsError
impl Send for AsError
impl Sync for AsError
impl Unpin for AsError
impl UnwindSafe for AsError
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString
]. Read more