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