pub enum ObjectVerificationError {
InvalidManifest(ManifestViolation),
Reader(Error),
Writer(Error),
ObjectTooLarge {
maximum: u64,
},
ObjectLengthMismatch {
expected: u64,
actual: u64,
},
ObjectDigestMismatch,
ChunkPlanMismatch,
}Variants§
InvalidManifest(ManifestViolation)
Reader(Error)
Writer(Error)
ObjectTooLarge
ObjectLengthMismatch
ObjectDigestMismatch
ChunkPlanMismatch
Trait Implementations§
Source§impl Debug for ObjectVerificationError
impl Debug for ObjectVerificationError
Source§impl Display for ObjectVerificationError
impl Display for ObjectVerificationError
Source§impl Error for ObjectVerificationError
impl Error for ObjectVerificationError
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<ManifestViolation> for ObjectVerificationError
impl From<ManifestViolation> for ObjectVerificationError
Source§fn from(source: ManifestViolation) -> Self
fn from(source: ManifestViolation) -> Self
Converts to this type from the input type.
Source§impl From<ObjectVerificationError> for RootReconstructionError
impl From<ObjectVerificationError> for RootReconstructionError
Source§fn from(source: ObjectVerificationError) -> Self
fn from(source: ObjectVerificationError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectVerificationError> for TransferReceiverError
impl From<ObjectVerificationError> for TransferReceiverError
Source§fn from(source: ObjectVerificationError) -> Self
fn from(source: ObjectVerificationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ObjectVerificationError
impl !UnwindSafe for ObjectVerificationError
impl Freeze for ObjectVerificationError
impl Send for ObjectVerificationError
impl Sync for ObjectVerificationError
impl Unpin for ObjectVerificationError
impl UnsafeUnpin for ObjectVerificationError
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