pub enum TransferReceiverError {
Show 22 variants
UnsafeCheckpointPath,
CheckpointAlreadyExists,
CheckpointNotFound,
Io(Error),
InvalidManifest(ManifestViolation),
EncodedManifestTooLarge {
maximum_bytes: u64,
},
InvalidCheckpointManifest,
UnsupportedLegacyCheckpoint,
InvalidExpectedManifestDigest,
ManifestDigestMismatch {
expected: String,
actual: String,
},
UnrecognizedCheckpointEntry,
InsecureCheckpointPermissions,
CheckpointStateChanged,
UnknownChunk(u32),
ChunkLengthMismatch(u32),
ChunkDigestMismatch(u32),
InvalidPageLimit {
maximum: usize,
},
UnsafeDestinationPath,
DestinationAlreadyExists,
IncompleteTransfer {
first_missing_chunk: u32,
},
DestinationStateChanged,
ObjectVerification(ObjectVerificationError),
}Variants§
UnsafeCheckpointPath
CheckpointAlreadyExists
CheckpointNotFound
Io(Error)
InvalidManifest(ManifestViolation)
EncodedManifestTooLarge
InvalidCheckpointManifest
UnsupportedLegacyCheckpoint
InvalidExpectedManifestDigest
ManifestDigestMismatch
UnrecognizedCheckpointEntry
InsecureCheckpointPermissions
CheckpointStateChanged
UnknownChunk(u32)
ChunkLengthMismatch(u32)
ChunkDigestMismatch(u32)
InvalidPageLimit
UnsafeDestinationPath
DestinationAlreadyExists
IncompleteTransfer
DestinationStateChanged
ObjectVerification(ObjectVerificationError)
Trait Implementations§
Source§impl Debug for TransferReceiverError
impl Debug for TransferReceiverError
Source§impl Display for TransferReceiverError
impl Display for TransferReceiverError
Source§impl Error for TransferReceiverError
impl Error for TransferReceiverError
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 TransferReceiverError
impl From<ManifestViolation> for TransferReceiverError
Source§fn from(source: ManifestViolation) -> Self
fn from(source: ManifestViolation) -> 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 TransferReceiverError
impl !UnwindSafe for TransferReceiverError
impl Freeze for TransferReceiverError
impl Send for TransferReceiverError
impl Sync for TransferReceiverError
impl Unpin for TransferReceiverError
impl UnsafeUnpin for TransferReceiverError
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