pub struct SocketId(pub u32);
Expand description
A newtype wrapper for strongly-typed SocketIDs
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Distribution<SocketId> for Standard
impl Distribution<SocketId> for Standard
impl Copy for SocketId
impl Eq for SocketId
impl StructuralPartialEq for SocketId
Auto Trait Implementations§
impl Freeze for SocketId
impl RefUnwindSafe for SocketId
impl Send for SocketId
impl Sync for SocketId
impl Unpin for SocketId
impl UnwindSafe for SocketId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.