pub struct ServerApplicationControlPacket {
pub packet: Bytes,
pub packet_number: u64,
pub packet_number_offset: usize,
}Fields§
§packet: Bytes§packet_number: u64§packet_number_offset: usizeTrait Implementations§
Source§impl Clone for ServerApplicationControlPacket
impl Clone for ServerApplicationControlPacket
Source§fn clone(&self) -> ServerApplicationControlPacket
fn clone(&self) -> ServerApplicationControlPacket
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 moreimpl Eq for ServerApplicationControlPacket
Source§impl PartialEq for ServerApplicationControlPacket
impl PartialEq for ServerApplicationControlPacket
Source§fn eq(&self, other: &ServerApplicationControlPacket) -> bool
fn eq(&self, other: &ServerApplicationControlPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerApplicationControlPacket
Auto Trait Implementations§
impl !Freeze for ServerApplicationControlPacket
impl RefUnwindSafe for ServerApplicationControlPacket
impl Send for ServerApplicationControlPacket
impl Sync for ServerApplicationControlPacket
impl Unpin for ServerApplicationControlPacket
impl UnsafeUnpin for ServerApplicationControlPacket
impl UnwindSafe for ServerApplicationControlPacket
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