pub enum IcSnapshotMetadataError {
ReplyTooLarge,
InvalidReply,
InvalidGlobal,
InvalidChunkHash,
}Expand description
Typed metadata admission errors, excluding raw bytes and decoder diagnostics.
Variants§
ReplyTooLarge
Input exceeded the local raw-byte bound before parsing.
InvalidReply
Wire shape, finite work, sequence or certified-data bounds failed.
InvalidGlobal
A v128 value exceeded its unsigned 128-bit representation.
InvalidChunkHash
Chunk identities must be distinct exact SHA-256 hashes.
Trait Implementations§
Source§impl Debug for IcSnapshotMetadataError
impl Debug for IcSnapshotMetadataError
Source§impl Display for IcSnapshotMetadataError
impl Display for IcSnapshotMetadataError
impl Eq for IcSnapshotMetadataError
Source§impl Error for IcSnapshotMetadataError
impl Error for IcSnapshotMetadataError
1.30.0 · 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 PartialEq for IcSnapshotMetadataError
impl PartialEq for IcSnapshotMetadataError
impl StructuralPartialEq for IcSnapshotMetadataError
Auto Trait Implementations§
impl Freeze for IcSnapshotMetadataError
impl RefUnwindSafe for IcSnapshotMetadataError
impl Send for IcSnapshotMetadataError
impl Sync for IcSnapshotMetadataError
impl Unpin for IcSnapshotMetadataError
impl UnsafeUnpin for IcSnapshotMetadataError
impl UnwindSafe for IcSnapshotMetadataError
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