pub struct ConsumerHandle(pub u64);Expand description
A consumer id, allocated by the Connection when a subscription opens.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ConsumerHandle
impl Clone for ConsumerHandle
Source§fn clone(&self) -> ConsumerHandle
fn clone(&self) -> ConsumerHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConsumerHandle
Source§impl Debug for ConsumerHandle
impl Debug for ConsumerHandle
Source§impl Display for ConsumerHandle
impl Display for ConsumerHandle
impl Eq for ConsumerHandle
Source§impl Hash for ConsumerHandle
impl Hash for ConsumerHandle
Source§impl Ord for ConsumerHandle
impl Ord for ConsumerHandle
Source§fn cmp(&self, other: &ConsumerHandle) -> Ordering
fn cmp(&self, other: &ConsumerHandle) -> Ordering
1.21.0 (const: unstable) · 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 ConsumerHandle
impl PartialEq for ConsumerHandle
Source§impl PartialOrd for ConsumerHandle
impl PartialOrd for ConsumerHandle
impl StructuralPartialEq for ConsumerHandle
Auto Trait Implementations§
impl Freeze for ConsumerHandle
impl RefUnwindSafe for ConsumerHandle
impl Send for ConsumerHandle
impl Sync for ConsumerHandle
impl Unpin for ConsumerHandle
impl UnsafeUnpin for ConsumerHandle
impl UnwindSafe for ConsumerHandle
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