Struct sozu_lib::server::ListenToken
source · pub struct ListenToken(pub usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for ListenToken
impl Clone for ListenToken
source§fn clone(&self) -> ListenToken
fn clone(&self) -> ListenToken
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 ListenToken
impl Debug for ListenToken
source§impl From<ListenToken> for usize
impl From<ListenToken> for usize
source§fn from(val: ListenToken) -> usize
fn from(val: ListenToken) -> usize
Converts to this type from the input type.
source§impl From<usize> for ListenToken
impl From<usize> for ListenToken
source§fn from(val: usize) -> ListenToken
fn from(val: usize) -> ListenToken
Converts to this type from the input type.
source§impl Hash for ListenToken
impl Hash for ListenToken
source§impl Ord for ListenToken
impl Ord for ListenToken
source§fn cmp(&self, other: &ListenToken) -> Ordering
fn cmp(&self, other: &ListenToken) -> 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 ListenToken
impl PartialEq for ListenToken
source§fn eq(&self, other: &ListenToken) -> bool
fn eq(&self, other: &ListenToken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ListenToken
impl PartialOrd for ListenToken
source§fn partial_cmp(&self, other: &ListenToken) -> Option<Ordering>
fn partial_cmp(&self, other: &ListenToken) -> 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 ListenToken
impl Eq for ListenToken
impl StructuralPartialEq for ListenToken
Auto Trait Implementations§
impl Freeze for ListenToken
impl RefUnwindSafe for ListenToken
impl Send for ListenToken
impl Sync for ListenToken
impl Unpin for ListenToken
impl UnwindSafe for ListenToken
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.