pub enum SnapshotReadRequestError {
ObservationLimitTooLarge,
UnsupportedMethod,
Plan(OperationPlanError),
Payload(IcRequestError),
}Expand description
Typed exact original-plan/read-payload admission failure.
Variants§
ObservationLimitTooLarge
The descriptive ceiling exceeds its maintained bound.
UnsupportedMethod
Only the implemented snapshot-list codec is admitted.
Plan(OperationPlanError)
Original operation plan rejects binding derivation.
Payload(IcRequestError)
Exact read target or separate observation digest differs.
Trait Implementations§
Source§impl Debug for SnapshotReadRequestError
impl Debug for SnapshotReadRequestError
Source§impl Display for SnapshotReadRequestError
impl Display for SnapshotReadRequestError
Source§impl Error for SnapshotReadRequestError
impl Error for SnapshotReadRequestError
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<IcRequestError> for SnapshotReadRequestError
impl From<IcRequestError> for SnapshotReadRequestError
Source§fn from(source: IcRequestError) -> Self
fn from(source: IcRequestError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanError> for SnapshotReadRequestError
impl From<OperationPlanError> for SnapshotReadRequestError
Source§fn from(source: OperationPlanError) -> Self
fn from(source: OperationPlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotReadRequestError
impl RefUnwindSafe for SnapshotReadRequestError
impl Send for SnapshotReadRequestError
impl Sync for SnapshotReadRequestError
impl Unpin for SnapshotReadRequestError
impl UnsafeUnpin for SnapshotReadRequestError
impl UnwindSafe for SnapshotReadRequestError
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