Enum ic_cdk::api::call::RejectionCode [−][src]
#[repr(i32)] pub enum RejectionCode { NoError, SysFatal, SysTransient, DestinationInvalid, CanisterReject, CanisterError, Unknown, }
Expand description
Rejection code from calling another canister.
These can be obtained either using reject_code()
or reject_result()
.
Variants
Trait Implementations
impl Debug for RejectionCode
[src]
impl Debug for RejectionCode
[src]Auto Trait Implementations
impl RefUnwindSafe for RejectionCode
impl Send for RejectionCode
impl Sync for RejectionCode
impl Unpin for RejectionCode
impl UnwindSafe for RejectionCode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self