pub enum Inbound {
Text(String),
Binary(Vec<u8>),
Disconnected(TransportError),
}Expand description
One inbound realtime frame buffered for the client’s on_realtime_*.
Variants§
Text(String)
Binary(Vec<u8>)
Disconnected(TransportError)
The realtime connection ended without the host closing it (the peer closed an idle socket, a read or write failed, or a send was abandoned). Pushed before any round or send waiter is woken, so the host drains it before it reconnects.
Auto Trait Implementations§
impl Freeze for Inbound
impl RefUnwindSafe for Inbound
impl Send for Inbound
impl Sync for Inbound
impl Unpin for Inbound
impl UnsafeUnpin for Inbound
impl UnwindSafe for Inbound
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