pub enum RequestOpsError {
CanisterRoleNotFound(CanisterRole),
ChildNotFound(Principal),
NotChildOfCaller(Principal, Principal),
ParentNotFound(Principal),
InvalidResponseType,
RootNotFound,
}Expand description
RequestOpsError Errors produced during request dispatch or response handling
Variants§
CanisterRoleNotFound(CanisterRole)
ChildNotFound(Principal)
NotChildOfCaller(Principal, Principal)
ParentNotFound(Principal)
InvalidResponseType
RootNotFound
Trait Implementations§
Source§impl Debug for RequestOpsError
impl Debug for RequestOpsError
Source§impl Display for RequestOpsError
impl Display for RequestOpsError
Source§impl Error for RequestOpsError
impl Error for RequestOpsError
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<RequestOpsError> for Error
impl From<RequestOpsError> for Error
Source§fn from(err: RequestOpsError) -> Self
fn from(err: RequestOpsError) -> Self
Converts to this type from the input type.
Source§impl From<RequestOpsError> for OpsError
impl From<RequestOpsError> for OpsError
Source§fn from(source: RequestOpsError) -> Self
fn from(source: RequestOpsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RequestOpsError
impl RefUnwindSafe for RequestOpsError
impl Send for RequestOpsError
impl Sync for RequestOpsError
impl Unpin for RequestOpsError
impl UnwindSafe for RequestOpsError
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