Struct maelstrom_base::ClientId
source · pub struct ClientId(/* private fields */);Expand description
ID of a client connection. These share the same ID space as WorkerId.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ClientId
impl<'de> Deserialize<'de> for ClientId
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 ClientId
impl Ord for ClientId
source§impl PartialEq for ClientId
impl PartialEq for ClientId
source§impl PartialOrd for ClientId
impl PartialOrd for ClientId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for ClientId
impl Eq for ClientId
impl StructuralEq for ClientId
impl StructuralPartialEq for ClientId
Auto Trait Implementations§
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnwindSafe for ClientId
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