Struct wasm_utils::types::OperationError  
source · [−]pub struct OperationError {
    pub code: OpStatusCode,
    pub error_message: String,
    pub data: Option<String>,
}Expand description
Final Operation Error
Fields
code: OpStatusCodeerror_message: Stringdata: Option<String>Implementations
sourceimpl OperationError
 
impl OperationError
sourceimpl OperationError
 
impl OperationError
pub fn new_with_message(code: OpStatusCode, message: String) -> Self
Trait Implementations
sourceimpl Debug for OperationError
 
impl Debug for OperationError
sourceimpl Display for OperationError
 
impl Display for OperationError
sourceimpl From<OpStatusCode> for OperationError
 
impl From<OpStatusCode> for OperationError
sourcefn from(e: OpStatusCode) -> Self
 
fn from(e: OpStatusCode) -> Self
Performs the conversion.
sourceimpl From<OperationError> for JsValue
 
impl From<OperationError> for JsValue
sourcefn from(value: OperationError) -> Self
 
fn from(value: OperationError) -> Self
Performs the conversion.
sourceimpl FromWasmAbi for OperationError
 
impl FromWasmAbi for OperationError
sourceimpl IntoWasmAbi for OperationError
 
impl IntoWasmAbi for OperationError
sourceimpl OptionFromWasmAbi for OperationError
 
impl OptionFromWasmAbi for OperationError
sourceimpl OptionIntoWasmAbi for OperationError
 
impl OptionIntoWasmAbi for OperationError
sourceimpl PartialEq<OperationError> for OperationError
 
impl PartialEq<OperationError> for OperationError
sourcefn eq(&self, other: &OperationError) -> bool
 
fn eq(&self, other: &OperationError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &OperationError) -> bool
 
fn ne(&self, other: &OperationError) -> bool
This method tests for !=.
sourceimpl RefFromWasmAbi for OperationError
 
impl RefFromWasmAbi for OperationError
type Anchor = Ref<'static, OperationError>
type Anchor = Ref<'static, OperationError>
The type that holds the reference to Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
 
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor from Self::Abi. Read more
sourceimpl RefMutFromWasmAbi for OperationError
 
impl RefMutFromWasmAbi for OperationError
type Anchor = RefMut<'static, OperationError>
type Anchor = RefMut<'static, OperationError>
Same as RefFromWasmAbi::Anchor
sourceunsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
 
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as RefFromWasmAbi::ref_from_abi
sourceimpl WasmDescribe for OperationError
 
impl WasmDescribe for OperationError
impl Eq for OperationError
impl StructuralEq for OperationError
impl StructuralPartialEq for OperationError
Auto Trait Implementations
impl RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl UnwindSafe for OperationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi, 
 
impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi, 
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
 
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err. Read more
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more