pub enum Load {
Show 13 variants
Read(Read),
Signatures(Signatures),
Git(Error),
NoManifest(Oid),
ManifestIsNotBlob(Oid),
InvalidManifest {
id: Oid,
err: Error,
},
NoChange(Oid),
ChangeNotBlob(Oid),
ChangeNotSigned(Oid),
TooManySignatures(Oid),
TooManyResources(Oid),
ResourceTrailer(InvalidResourceTrailer),
Utf8(FromUtf8Error),
}
Variants§
Read(Read)
Signatures(Signatures)
Git(Error)
NoManifest(Oid)
ManifestIsNotBlob(Oid)
InvalidManifest
NoChange(Oid)
ChangeNotBlob(Oid)
ChangeNotSigned(Oid)
TooManySignatures(Oid)
TooManyResources(Oid)
ResourceTrailer(InvalidResourceTrailer)
Utf8(FromUtf8Error)
Trait Implementations§
source§impl Error for Load
impl Error for Load
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 From<FromUtf8Error> for Load
impl From<FromUtf8Error> for Load
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<Signatures> for Load
impl From<Signatures> for Load
source§fn from(source: Signatures) -> Self
fn from(source: Signatures) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Load
impl !RefUnwindSafe for Load
impl Send for Load
impl Sync for Load
impl Unpin for Load
impl !UnwindSafe for Load
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