Enum engineioxide::SendPacket
source · pub enum SendPacket {
Message(String),
Binary(Vec<u8>),
}Expand description
A Packet type to use when sending data to the client A Packet type to use when sending data to the client from the public API
This is a subset of the Packet enum, which is used internally
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SendPacket
impl Send for SendPacket
impl Sync for SendPacket
impl Unpin for SendPacket
impl UnwindSafe for SendPacket
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