pub struct OutboundPacket {
pub client_id: ClientId,
pub bytes: Vec<u8>,
}Expand description
Outbound packet after wire encoding.
Fields§
§client_id: ClientIdTarget client.
bytes: Vec<u8>Encoded bytes.
Trait Implementations§
Source§impl Clone for OutboundPacket
impl Clone for OutboundPacket
Source§fn clone(&self) -> OutboundPacket
fn clone(&self) -> OutboundPacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutboundPacket
impl Debug for OutboundPacket
impl Eq for OutboundPacket
Source§impl PartialEq for OutboundPacket
impl PartialEq for OutboundPacket
impl StructuralPartialEq for OutboundPacket
Auto Trait Implementations§
impl Freeze for OutboundPacket
impl RefUnwindSafe for OutboundPacket
impl Send for OutboundPacket
impl Sync for OutboundPacket
impl Unpin for OutboundPacket
impl UnsafeUnpin for OutboundPacket
impl UnwindSafe for OutboundPacket
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