pub enum Channel<'c> {
AggTrade(&'c str),
Depth(&'c str, Speed),
Trade(&'c str),
Kline(&'c str, Interval),
MiniTicker(&'c str),
AllMiniTickers,
Ticker(&'c str),
AllTickers,
BookTicker(&'c str),
AllBookTickers,
PartialDepth(&'c str, Level, Speed),
UserData(&'c str),
}Variants§
AggTrade(&'c str)
Depth(&'c str, Speed)
Trade(&'c str)
Kline(&'c str, Interval)
MiniTicker(&'c str)
AllMiniTickers
Ticker(&'c str)
AllTickers
BookTicker(&'c str)
AllBookTickers
PartialDepth(&'c str, Level, Speed)
UserData(&'c str)
The only channel that takes a listen-key instead of a symbol
Trait Implementations§
impl<'c> Copy for Channel<'c>
Auto Trait Implementations§
impl<'c> Freeze for Channel<'c>
impl<'c> RefUnwindSafe for Channel<'c>
impl<'c> Send for Channel<'c>
impl<'c> Sync for Channel<'c>
impl<'c> Unpin for Channel<'c>
impl<'c> UnwindSafe for Channel<'c>
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