pub struct PeerUid(pub u64);Expand description
Unique ID for a client connection.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for PeerUid
Source§impl<'de> Deserialize<'de> for PeerUid
impl<'de> Deserialize<'de> for PeerUid
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PeerUid
Source§impl Ord for PeerUid
impl Ord for PeerUid
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 PartialOrd for PeerUid
impl PartialOrd for PeerUid
impl StructuralPartialEq for PeerUid
Auto Trait Implementations§
impl Freeze for PeerUid
impl RefUnwindSafe for PeerUid
impl Send for PeerUid
impl Sync for PeerUid
impl Unpin for PeerUid
impl UnsafeUnpin for PeerUid
impl UnwindSafe for PeerUid
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