pub struct Batch(pub Vec<Packet>);Tuple Fields§
§0: Vec<Packet>Implementations§
Trait Implementations§
Source§impl From<Packet> for Batch
A websocket frame is exactly one packet (whose binary data may contain the separator).
impl From<Packet> for Batch
A websocket frame is exactly one packet (whose binary data may contain the separator).
Source§impl IntoIterator for Batch
impl IntoIterator for Batch
Auto Trait Implementations§
impl Forget for Batch
impl Freeze for Batch
impl Move for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnsafeUnpin for Batch
impl UnwindSafe for Batch
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