Struct aldrin_core::BusListenerCookie
source · #[repr(transparent)]pub struct BusListenerCookie(pub Uuid);
Expand description
Cookie of a bus listener.
BusListenerCookie
s are chosen by the broker when creating a bus listener.
Tuple Fields§
§0: Uuid
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for BusListenerCookie
impl<'arbitrary> Arbitrary<'arbitrary> for BusListenerCookie
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for BusListenerCookie
impl Clone for BusListenerCookie
source§fn clone(&self) -> BusListenerCookie
fn clone(&self) -> BusListenerCookie
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BusListenerCookie
impl Debug for BusListenerCookie
source§impl Default for BusListenerCookie
impl Default for BusListenerCookie
source§fn default() -> BusListenerCookie
fn default() -> BusListenerCookie
Returns the “default value” for a type. Read more
source§impl Display for BusListenerCookie
impl Display for BusListenerCookie
source§impl From<BusListenerCookie> for Uuid
impl From<BusListenerCookie> for Uuid
source§fn from(cookie: BusListenerCookie) -> Self
fn from(cookie: BusListenerCookie) -> Self
Converts to this type from the input type.
source§impl From<Uuid> for BusListenerCookie
impl From<Uuid> for BusListenerCookie
source§impl Hash for BusListenerCookie
impl Hash for BusListenerCookie
source§impl Ord for BusListenerCookie
impl Ord for BusListenerCookie
source§fn cmp(&self, other: &BusListenerCookie) -> Ordering
fn cmp(&self, other: &BusListenerCookie) -> Ordering
1.21.0 · 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 PartialEq for BusListenerCookie
impl PartialEq for BusListenerCookie
source§fn eq(&self, other: &BusListenerCookie) -> bool
fn eq(&self, other: &BusListenerCookie) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BusListenerCookie
impl PartialOrd for BusListenerCookie
source§fn partial_cmp(&self, other: &BusListenerCookie) -> Option<Ordering>
fn partial_cmp(&self, other: &BusListenerCookie) -> Option<Ordering>
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 BusListenerCookie
impl Eq for BusListenerCookie
impl StructuralPartialEq for BusListenerCookie
Auto Trait Implementations§
impl Freeze for BusListenerCookie
impl RefUnwindSafe for BusListenerCookie
impl Send for BusListenerCookie
impl Sync for BusListenerCookie
impl Unpin for BusListenerCookie
impl UnwindSafe for BusListenerCookie
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