pub struct SymbolFailure {
pub symbol: Ticker,
pub kind: ErrorKind,
pub message: String,
pub retryable: bool,
}Fields§
§symbol: Ticker§kind: ErrorKind§message: String§retryable: boolImplementations§
Source§impl SymbolFailure
impl SymbolFailure
pub fn from_error(symbol: Ticker, error: Error) -> Self
Trait Implementations§
Source§impl Clone for SymbolFailure
impl Clone for SymbolFailure
Source§fn clone(&self) -> SymbolFailure
fn clone(&self) -> SymbolFailure
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 SymbolFailure
impl Debug for SymbolFailure
Source§impl PartialEq for SymbolFailure
impl PartialEq for SymbolFailure
impl Eq for SymbolFailure
impl StructuralPartialEq for SymbolFailure
Auto Trait Implementations§
impl Freeze for SymbolFailure
impl RefUnwindSafe for SymbolFailure
impl Send for SymbolFailure
impl Sync for SymbolFailure
impl Unpin for SymbolFailure
impl UnsafeUnpin for SymbolFailure
impl UnwindSafe for SymbolFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.