pub struct PeerUid(pub u64);
Expand description
Unique ID for a client connection.
Tuple Fields§
§0: u64
Trait Implementations§
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
Source§impl Ord for PeerUid
impl Ord for PeerUid
Source§impl PartialOrd for PeerUid
impl PartialOrd for PeerUid
impl Copy for PeerUid
impl Eq 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 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