pub enum NwcErrorCode {
RateLimited,
NotImplemented,
InsufficientBalance,
QuotaExceeded,
Restricted,
Unauthorized,
Internal,
Other,
}Expand description
NWC error codes.
Variants§
Trait Implementations§
Source§impl Clone for NwcErrorCode
impl Clone for NwcErrorCode
Source§fn clone(&self) -> NwcErrorCode
fn clone(&self) -> NwcErrorCode
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 NwcErrorCode
impl Debug for NwcErrorCode
Source§impl<'de> Deserialize<'de> for NwcErrorCode
impl<'de> Deserialize<'de> for NwcErrorCode
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 PartialEq for NwcErrorCode
impl PartialEq for NwcErrorCode
Source§impl Serialize for NwcErrorCode
impl Serialize for NwcErrorCode
impl StructuralPartialEq for NwcErrorCode
Auto Trait Implementations§
impl Freeze for NwcErrorCode
impl RefUnwindSafe for NwcErrorCode
impl Send for NwcErrorCode
impl Sync for NwcErrorCode
impl Unpin for NwcErrorCode
impl UnsafeUnpin for NwcErrorCode
impl UnwindSafe for NwcErrorCode
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