Struct maelstrom_base::WorkerId
source · pub struct WorkerId(/* private fields */);Expand description
ID of a worker connection. These share the same ID space as ClientId.
Trait Implementations§
source§impl<'de> Deserialize<'de> for WorkerId
impl<'de> Deserialize<'de> for WorkerId
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 WorkerId
impl Ord for WorkerId
source§impl PartialEq for WorkerId
impl PartialEq for WorkerId
source§impl PartialOrd for WorkerId
impl PartialOrd for WorkerId
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 WorkerId
impl Eq for WorkerId
impl StructuralEq for WorkerId
impl StructuralPartialEq for WorkerId
Auto Trait Implementations§
impl RefUnwindSafe for WorkerId
impl Send for WorkerId
impl Sync for WorkerId
impl Unpin for WorkerId
impl UnwindSafe for WorkerId
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