Struct barter_data::exchange::bitfinex::subscription::BitfinexError
source · pub struct BitfinexError { /* private fields */ }Expand description
Bitfinex error message that is received if a BitfinexSubResponse
indicates a WebSocket subscription failure.
Subscription Error Codes:
10300: Generic failure 10301: Already subscribed 10302: Unknown channel
See BitfinexPlatformStatus for full raw payload examples.
Trait Implementations§
source§impl Clone for BitfinexError
impl Clone for BitfinexError
source§fn clone(&self) -> BitfinexError
fn clone(&self) -> BitfinexError
Returns a copy 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 BitfinexError
impl Debug for BitfinexError
source§impl<'de> Deserialize<'de> for BitfinexError
impl<'de> Deserialize<'de> for BitfinexError
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 Hash for BitfinexError
impl Hash for BitfinexError
source§impl Ord for BitfinexError
impl Ord for BitfinexError
source§fn cmp(&self, other: &BitfinexError) -> Ordering
fn cmp(&self, other: &BitfinexError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<BitfinexError> for BitfinexError
impl PartialEq<BitfinexError> for BitfinexError
source§fn eq(&self, other: &BitfinexError) -> bool
fn eq(&self, other: &BitfinexError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<BitfinexError> for BitfinexError
impl PartialOrd<BitfinexError> for BitfinexError
source§fn partial_cmp(&self, other: &BitfinexError) -> Option<Ordering>
fn partial_cmp(&self, other: &BitfinexError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for BitfinexError
impl Serialize for BitfinexError
impl Eq for BitfinexError
impl StructuralEq for BitfinexError
impl StructuralPartialEq for BitfinexError
Auto Trait Implementations§
impl RefUnwindSafe for BitfinexError
impl Send for BitfinexError
impl Sync for BitfinexError
impl Unpin for BitfinexError
impl UnwindSafe for BitfinexError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.