pub struct SessionStream { /* private fields */ }Expand description
Connection-level events. Separate from UpdateStream so one reconnect is
one event regardless of how many markets are subscribed.
Implementations§
Source§impl SessionStream
impl SessionStream
pub async fn next(&self) -> Option<SessionEvent>
pub fn try_next(&self) -> Result<Option<SessionEvent>, TryRecvError>
pub fn is_closed(&self) -> bool
Auto Trait Implementations§
impl Freeze for SessionStream
impl RefUnwindSafe for SessionStream
impl Send for SessionStream
impl Sync for SessionStream
impl Unpin for SessionStream
impl UnsafeUnpin for SessionStream
impl UnwindSafe for SessionStream
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