pub struct CallPerformFailed;Expand description
Represents an error that occurs when the ic0.call_perform operation fails.
This error type indicates that the underlying ic0.call_perform operation
returned a non-zero code, signaling a failure.
Trait Implementations§
Source§impl CallErrorExt for CallPerformFailed
impl CallErrorExt for CallPerformFailed
Source§fn is_clean_reject(&self) -> bool
fn is_clean_reject(&self) -> bool
Checks if the error is a clean reject.
A clean reject means that there must be no state changes on the callee side.
Source§fn is_immediately_retryable(&self) -> bool
fn is_immediately_retryable(&self) -> bool
Determines if the failed call can be retried immediately within the update method
that’s handling the error, as opposed to relying on a background timer or heartbeat. Read more
Source§impl Clone for CallPerformFailed
impl Clone for CallPerformFailed
Source§fn clone(&self) -> CallPerformFailed
fn clone(&self) -> CallPerformFailed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CallPerformFailed
impl Debug for CallPerformFailed
Source§impl Display for CallPerformFailed
impl Display for CallPerformFailed
Source§impl Error for CallPerformFailed
impl Error for CallPerformFailed
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<CallPerformFailed> for CallFailed
impl From<CallPerformFailed> for CallFailed
Source§fn from(source: CallPerformFailed) -> Self
fn from(source: CallPerformFailed) -> Self
Converts to this type from the input type.
Source§impl From<CallPerformFailed> for Error
impl From<CallPerformFailed> for Error
Source§fn from(source: CallPerformFailed) -> Self
fn from(source: CallPerformFailed) -> Self
Converts to this type from the input type.
Source§impl From<CallPerformFailed> for OnewayError
impl From<CallPerformFailed> for OnewayError
Source§fn from(source: CallPerformFailed) -> Self
fn from(source: CallPerformFailed) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CallPerformFailed
impl RefUnwindSafe for CallPerformFailed
impl Send for CallPerformFailed
impl Sync for CallPerformFailed
impl Unpin for CallPerformFailed
impl UnwindSafe for CallPerformFailed
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