pub enum ErrorOrigin {
Executor,
Index,
Interface,
Query,
Response,
Serialize,
Store,
}Expand description
ErrorOrigin Public origin taxonomy for callers and canister interfaces.
Variants§
Trait Implementations§
Source§impl CandidType for ErrorOrigin
impl CandidType for ErrorOrigin
Source§impl Clone for ErrorOrigin
impl Clone for ErrorOrigin
Source§fn clone(&self) -> ErrorOrigin
fn clone(&self) -> ErrorOrigin
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 ErrorOrigin
impl Debug for ErrorOrigin
Source§impl<'de> Deserialize<'de> for ErrorOrigin
impl<'de> Deserialize<'de> for ErrorOrigin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ErrorOrigin
impl Display for ErrorOrigin
Source§impl From<ErrorOrigin> for ErrorOrigin
impl From<ErrorOrigin> for ErrorOrigin
Source§fn from(origin: CoreErrorOrigin) -> Self
fn from(origin: CoreErrorOrigin) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ErrorOrigin
impl PartialEq for ErrorOrigin
Source§impl Serialize for ErrorOrigin
impl Serialize for ErrorOrigin
impl Copy for ErrorOrigin
impl Eq for ErrorOrigin
impl StructuralPartialEq for ErrorOrigin
Auto Trait Implementations§
impl Freeze for ErrorOrigin
impl RefUnwindSafe for ErrorOrigin
impl Send for ErrorOrigin
impl Sync for ErrorOrigin
impl Unpin for ErrorOrigin
impl UnsafeUnpin for ErrorOrigin
impl UnwindSafe for ErrorOrigin
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