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)
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
: 136 bytesFindExistingReference
: 80 bytesRemoteInit
: 96 bytesFindExistingRemote
: 168 bytesCredentialHelperConfig
: 128 bytesConnect
: 144 bytesPrepareFetch
: 168 bytesFetch
: 136 bytesOther
: 56 bytes
Implementations
Trait Implementations
§impl<E> Error for Error<E>
impl<E> Error for Error<E>
§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()