pub enum IcSnapshotReplyError {
UnsupportedMethod {
method: IcManagementMethodRecord,
},
ReplyTooLarge,
InvalidReply,
DuplicateSnapshotId,
}Expand description
Typed snapshot wire admission failure, with no raw payload in diagnostics.
Variants§
UnsupportedMethod
Only the existing capture and inventory request methods have this reply shape.
Fields
§
method: IcManagementMethodRecordActual request method, as admitted by the existing request owner.
ReplyTooLarge
Raw input exceeded the local bound before Candid parsing.
InvalidReply
Shape, field/count/ID bounds, decoding quota or exact consumption failed.
DuplicateSnapshotId
Identical raw identifiers appeared more than once, even with different metadata.
Trait Implementations§
Source§impl Debug for IcSnapshotReplyError
impl Debug for IcSnapshotReplyError
Source§impl Display for IcSnapshotReplyError
impl Display for IcSnapshotReplyError
impl Eq for IcSnapshotReplyError
Source§impl Error for IcSnapshotReplyError
impl Error for IcSnapshotReplyError
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 From<IcSnapshotReplyError> for IcMutationAssociationError
impl From<IcSnapshotReplyError> for IcMutationAssociationError
Source§fn from(source: IcSnapshotReplyError) -> Self
fn from(source: IcSnapshotReplyError) -> Self
Converts to this type from the input type.
Source§impl From<IcSnapshotReplyError> for IcObservationAssociationError
impl From<IcSnapshotReplyError> for IcObservationAssociationError
Source§fn from(source: IcSnapshotReplyError) -> Self
fn from(source: IcSnapshotReplyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IcSnapshotReplyError
impl PartialEq for IcSnapshotReplyError
impl StructuralPartialEq for IcSnapshotReplyError
Auto Trait Implementations§
impl Freeze for IcSnapshotReplyError
impl RefUnwindSafe for IcSnapshotReplyError
impl Send for IcSnapshotReplyError
impl Sync for IcSnapshotReplyError
impl Unpin for IcSnapshotReplyError
impl UnsafeUnpin for IcSnapshotReplyError
impl UnwindSafe for IcSnapshotReplyError
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