pub struct AcknowledgeAll {
pub sequence: u16,
}Expand description
A packet used to acknowledge all sequences up to and including sequence.
Serialized without OP code.
Fields§
§sequence: u16The most recent sequence number received.
Implementations§
Source§impl AcknowledgeAll
impl AcknowledgeAll
Sourcepub fn deserialize(buffer: &[u8]) -> Result<Self>
pub fn deserialize(buffer: &[u8]) -> Result<Self>
Deserializes a packet from buffer.
Trait Implementations§
Source§impl Clone for AcknowledgeAll
impl Clone for AcknowledgeAll
Source§fn clone(&self) -> AcknowledgeAll
fn clone(&self) -> AcknowledgeAll
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 Copy for AcknowledgeAll
Source§impl Debug for AcknowledgeAll
impl Debug for AcknowledgeAll
impl Eq for AcknowledgeAll
Source§impl PartialEq for AcknowledgeAll
impl PartialEq for AcknowledgeAll
Source§fn eq(&self, other: &AcknowledgeAll) -> bool
fn eq(&self, other: &AcknowledgeAll) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AcknowledgeAll
Auto Trait Implementations§
impl Freeze for AcknowledgeAll
impl RefUnwindSafe for AcknowledgeAll
impl Send for AcknowledgeAll
impl Sync for AcknowledgeAll
impl Unpin for AcknowledgeAll
impl UnsafeUnpin for AcknowledgeAll
impl UnwindSafe for AcknowledgeAll
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