pub enum DataSocketEvent {
Connected(DataControlEvent),
Subscribed(DataControlEvent),
Unsubscribed(DataControlEvent),
Mode(DataControlEvent),
Error(DataControlEvent),
SymbolUpdate(SymbolUpdate),
IndexUpdate(IndexUpdate),
DepthUpdate(DepthUpdate),
}Expand description
Parsed market-data socket event.
Variants§
Connected(DataControlEvent)
Subscribed(DataControlEvent)
Unsubscribed(DataControlEvent)
Mode(DataControlEvent)
Error(DataControlEvent)
SymbolUpdate(SymbolUpdate)
IndexUpdate(IndexUpdate)
DepthUpdate(DepthUpdate)
Trait Implementations§
Source§impl Clone for DataSocketEvent
impl Clone for DataSocketEvent
Source§fn clone(&self) -> DataSocketEvent
fn clone(&self) -> DataSocketEvent
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 DataSocketEvent
impl Debug for DataSocketEvent
Source§impl<'de> Deserialize<'de> for DataSocketEvent
impl<'de> Deserialize<'de> for DataSocketEvent
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 DataSocketEvent
impl PartialEq for DataSocketEvent
Source§impl Serialize for DataSocketEvent
impl Serialize for DataSocketEvent
impl StructuralPartialEq for DataSocketEvent
Auto Trait Implementations§
impl Freeze for DataSocketEvent
impl RefUnwindSafe for DataSocketEvent
impl Send for DataSocketEvent
impl Sync for DataSocketEvent
impl Unpin for DataSocketEvent
impl UnsafeUnpin for DataSocketEvent
impl UnwindSafe for DataSocketEvent
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