pub enum ChunkDigestError {
Input(ArtifactError),
ChunkLimit {
limit: usize,
},
Allocation(TryReserveError),
}Expand description
Chunk hashing failed without returning partial identities.
Variants§
Input(ArtifactError)
Source read or complete-input allowance failed.
ChunkLimit
More chunks were needed than the caller permits retaining.
Allocation(TryReserveError)
Storage for a chunk digest could not be allocated.
Trait Implementations§
Source§impl Debug for ChunkDigestError
impl Debug for ChunkDigestError
Source§impl Display for ChunkDigestError
impl Display for ChunkDigestError
Source§impl Error for ChunkDigestError
impl Error for ChunkDigestError
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<ArtifactError> for ChunkDigestError
impl From<ArtifactError> for ChunkDigestError
Source§fn from(source: ArtifactError) -> Self
fn from(source: ArtifactError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ChunkDigestError
impl !UnwindSafe for ChunkDigestError
impl Freeze for ChunkDigestError
impl Send for ChunkDigestError
impl Sync for ChunkDigestError
impl Unpin for ChunkDigestError
impl UnsafeUnpin for ChunkDigestError
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