pub struct StateToken(pub [u8; 8]);Expand description
A 64-bit state token, rendered as 16 lowercase hex chars on the wire.
Tuple Fields§
§0: [u8; 8]Implementations§
Source§impl StateToken
impl StateToken
Trait Implementations§
Source§impl Clone for StateToken
impl Clone for StateToken
Source§fn clone(&self) -> StateToken
fn clone(&self) -> StateToken
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 StateToken
impl Debug for StateToken
Source§impl Display for StateToken
impl Display for StateToken
Source§impl FromStr for StateToken
impl FromStr for StateToken
Source§impl Hash for StateToken
impl Hash for StateToken
Source§impl Ord for StateToken
impl Ord for StateToken
Source§fn cmp(&self, other: &StateToken) -> Ordering
fn cmp(&self, other: &StateToken) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StateToken
impl PartialEq for StateToken
Source§fn eq(&self, other: &StateToken) -> bool
fn eq(&self, other: &StateToken) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StateToken
impl PartialOrd for StateToken
impl Copy for StateToken
impl Eq for StateToken
impl StructuralPartialEq for StateToken
Auto Trait Implementations§
impl Freeze for StateToken
impl RefUnwindSafe for StateToken
impl Send for StateToken
impl Sync for StateToken
impl Unpin for StateToken
impl UnsafeUnpin for StateToken
impl UnwindSafe for StateToken
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