Enum crypto_msg_parser::MessageType [−][src]
pub enum MessageType {
Trade,
L2Event,
L2Snapshot,
L3Event,
L3Snapshot,
BBO,
Ticker,
Candlestick,
FundingRate,
}
Expand description
The type of a message
Copied from crypto_crawler::MessageType
Variants
Trade
L2Event
L2Snapshot
L3Event
L3Snapshot
BBO
Ticker
Candlestick
FundingRate
Trait Implementations
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
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more