pub enum ControlRequestError {
ObservationLimitTooLarge,
Plan(OperationPlanError),
Payload(IcRequestError),
}Expand description
Typed request rejection before provider use or any remote effect.
Variants§
ObservationLimitTooLarge
Descriptive call ceiling exceeds the maintained bound.
Plan(OperationPlanError)
Original plan cannot derive the named operation.
Payload(IcRequestError)
Actual payload is not the exact original mutation.
Trait Implementations§
Source§impl Debug for ControlRequestError
impl Debug for ControlRequestError
Source§impl Display for ControlRequestError
impl Display for ControlRequestError
Source§impl Error for ControlRequestError
impl Error for ControlRequestError
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 ControlRequestError
impl From<IcRequestError> for ControlRequestError
Source§fn from(source: IcRequestError) -> Self
fn from(source: IcRequestError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanError> for ControlRequestError
impl From<OperationPlanError> for ControlRequestError
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 ControlRequestError
impl RefUnwindSafe for ControlRequestError
impl Send for ControlRequestError
impl Sync for ControlRequestError
impl Unpin for ControlRequestError
impl UnsafeUnpin for ControlRequestError
impl UnwindSafe for ControlRequestError
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