pub enum RestoreSafetyRequestError {
Requirement(RestoreSafetyRequirementError),
Plan(OperationPlanError),
Payload(IcRequestError),
UnsupportedMethod,
ObservationLimitTooLarge,
}Expand description
Typed original request denial; changes no source, fence, spending or journal.
Variants§
Requirement(RestoreSafetyRequirementError)
Original source/safety/plan declarations differ.
Plan(OperationPlanError)
Exact original operation cannot be derived.
Payload(IcRequestError)
Exact original mutation bytes/target differ.
UnsupportedMethod
Only load/start are within this safety boundary.
ObservationLimitTooLarge
Descriptive observation ceiling is excessive.
Trait Implementations§
Source§impl Debug for RestoreSafetyRequestError
impl Debug for RestoreSafetyRequestError
Source§impl Display for RestoreSafetyRequestError
impl Display for RestoreSafetyRequestError
Source§impl Error for RestoreSafetyRequestError
impl Error for RestoreSafetyRequestError
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 RestoreSafetyRequestError
impl From<IcRequestError> for RestoreSafetyRequestError
Source§fn from(source: IcRequestError) -> Self
fn from(source: IcRequestError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanError> for RestoreSafetyRequestError
impl From<OperationPlanError> for RestoreSafetyRequestError
Source§fn from(source: OperationPlanError) -> Self
fn from(source: OperationPlanError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreSafetyRequirementError> for RestoreSafetyRequestError
impl From<RestoreSafetyRequirementError> for RestoreSafetyRequestError
Source§fn from(source: RestoreSafetyRequirementError) -> Self
fn from(source: RestoreSafetyRequirementError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RestoreSafetyRequestError
impl RefUnwindSafe for RestoreSafetyRequestError
impl Send for RestoreSafetyRequestError
impl Sync for RestoreSafetyRequestError
impl Unpin for RestoreSafetyRequestError
impl UnsafeUnpin for RestoreSafetyRequestError
impl UnwindSafe for RestoreSafetyRequestError
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