pub enum Inbound {
Text {
env: Envelope,
bytes_len: usize,
},
Hot {
frame: HotFrame,
bytes_len: usize,
},
Ping(Vec<u8>),
Pong(Vec<u8>),
Close,
}Variants§
Text
Ext lane JSON envelope with captured byte length (for policy).
Hot
Hot lane binary frame with captured byte length (for policy).
Ping(Vec<u8>)
WS ping payload.
Pong(Vec<u8>)
WS pong payload.
Close
WS close control frame (no payload surfaced).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Inbound
impl RefUnwindSafe for Inbound
impl Send for Inbound
impl Sync for Inbound
impl Unpin 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