pub enum TransferSourceError {
Folderbase(FolderbaseError),
Io(Error),
SourceChanged,
ObjectTooLarge {
maximum: u64,
},
InvalidManifest(ManifestViolation),
UnknownChunk(u32),
ChunkDigestMismatch(u32),
ChunkLengthMismatch(u32),
Writer(Error),
ManifestDigestMismatch {
expected: String,
actual: String,
},
InvalidExpectedManifestDigest,
}Variants§
Folderbase(FolderbaseError)
Io(Error)
SourceChanged
ObjectTooLarge
InvalidManifest(ManifestViolation)
UnknownChunk(u32)
ChunkDigestMismatch(u32)
ChunkLengthMismatch(u32)
Writer(Error)
ManifestDigestMismatch
InvalidExpectedManifestDigest
Trait Implementations§
Source§impl Debug for TransferSourceError
impl Debug for TransferSourceError
Source§impl Display for TransferSourceError
impl Display for TransferSourceError
Source§impl Error for TransferSourceError
impl Error for TransferSourceError
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<FolderbaseError> for TransferSourceError
impl From<FolderbaseError> for TransferSourceError
Source§fn from(source: FolderbaseError) -> Self
fn from(source: FolderbaseError) -> Self
Converts to this type from the input type.
Source§impl From<ManifestViolation> for TransferSourceError
impl From<ManifestViolation> for TransferSourceError
Source§fn from(source: ManifestViolation) -> Self
fn from(source: ManifestViolation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TransferSourceError
impl !UnwindSafe for TransferSourceError
impl Freeze for TransferSourceError
impl Send for TransferSourceError
impl Sync for TransferSourceError
impl Unpin for TransferSourceError
impl UnsafeUnpin for TransferSourceError
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