pub type Error = Error<Error>;
Aliased Type§
enum Error {
Open(Error),
FindExistingReference(Error),
RemoteInit(Error),
FindExistingRemote(Error),
CredentialHelperConfig(Error),
Connect(Error),
PrepareFetch(Error),
Fetch(Error),
Other(Error),
}
Variants§
Open(Error)
FindExistingReference(Error)
RemoteInit(Error)
FindExistingRemote(Error)
CredentialHelperConfig(Error)
Connect(Error)
PrepareFetch(Error)
Fetch(Error)
Other(Error)
Trait Implementations§
§impl<E> Error for Error<E>where
E: Error + Send + Sync + 'static,
Error<E>: Debug + Display,
impl<E> Error for Error<E>where E: Error + Send + Sync + 'static, Error<E>: Debug + Display,
§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()
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 168 bytes
Size for each variant:
Open
: 128 bytesFindExistingReference
: 80 bytesRemoteInit
: 72 bytesFindExistingRemote
: 160 bytesCredentialHelperConfig
: 80 bytesConnect
: 144 bytesPrepareFetch
: 168 bytesFetch
: 128 bytesOther
: 56 bytes