pub struct SequenceNumber(pub u16);
Tuple Fields§
§0: u16
Implementations§
Source§impl SequenceNumber
impl SequenceNumber
pub fn from_inner(inner: u16) -> Self
pub fn inner(&self) -> &u16
pub fn into_inner(self) -> u16
Trait Implementations§
Source§impl Clone for SequenceNumber
impl Clone for SequenceNumber
Source§fn clone(&self) -> SequenceNumber
fn clone(&self) -> SequenceNumber
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SequenceNumber
impl Debug for SequenceNumber
Source§impl Default for SequenceNumber
impl Default for SequenceNumber
Source§fn default() -> SequenceNumber
fn default() -> SequenceNumber
Returns the “default value” for a type. Read more
Source§impl Deref for SequenceNumber
impl Deref for SequenceNumber
Source§impl DerefMut for SequenceNumber
impl DerefMut for SequenceNumber
Source§impl Display for SequenceNumber
impl Display for SequenceNumber
Source§impl From<u16> for SequenceNumber
impl From<u16> for SequenceNumber
Source§impl FromStr for SequenceNumber
impl FromStr for SequenceNumber
Source§impl Hash for SequenceNumber
impl Hash for SequenceNumber
Source§impl PartialEq for SequenceNumber
impl PartialEq for SequenceNumber
impl Copy for SequenceNumber
impl Eq for SequenceNumber
impl StructuralPartialEq for SequenceNumber
Auto Trait Implementations§
impl Freeze for SequenceNumber
impl RefUnwindSafe for SequenceNumber
impl Send for SequenceNumber
impl Sync for SequenceNumber
impl Unpin for SequenceNumber
impl UnwindSafe for SequenceNumber
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