Struct quinn_proto::ConnectionHandle
source · pub struct ConnectionHandle(pub usize);
Expand description
Internal identifier for a Connection
currently associated with an endpoint
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for ConnectionHandle
impl Clone for ConnectionHandle
source§fn clone(&self) -> ConnectionHandle
fn clone(&self) -> ConnectionHandle
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 ConnectionHandle
impl Debug for ConnectionHandle
source§impl From<ConnectionHandle> for usize
impl From<ConnectionHandle> for usize
source§fn from(x: ConnectionHandle) -> usize
fn from(x: ConnectionHandle) -> usize
Converts to this type from the input type.
source§impl Hash for ConnectionHandle
impl Hash for ConnectionHandle
source§impl Index<ConnectionHandle> for Slab<ConnectionMeta>
impl Index<ConnectionHandle> for Slab<ConnectionMeta>
source§impl IndexMut<ConnectionHandle> for Slab<ConnectionMeta>
impl IndexMut<ConnectionHandle> for Slab<ConnectionMeta>
source§fn index_mut(&mut self, ch: ConnectionHandle) -> &mut ConnectionMeta
fn index_mut(&mut self, ch: ConnectionHandle) -> &mut ConnectionMeta
Performs the mutable indexing (
container[index]
) operation. Read moresource§impl Ord for ConnectionHandle
impl Ord for ConnectionHandle
source§fn cmp(&self, other: &ConnectionHandle) -> Ordering
fn cmp(&self, other: &ConnectionHandle) -> 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 ConnectionHandle
impl PartialEq for ConnectionHandle
source§fn eq(&self, other: &ConnectionHandle) -> bool
fn eq(&self, other: &ConnectionHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConnectionHandle
impl PartialOrd for ConnectionHandle
source§fn partial_cmp(&self, other: &ConnectionHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &ConnectionHandle) -> 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 ConnectionHandle
impl Eq for ConnectionHandle
impl StructuralEq for ConnectionHandle
impl StructuralPartialEq for ConnectionHandle
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionHandle
impl Send for ConnectionHandle
impl Sync for ConnectionHandle
impl Unpin for ConnectionHandle
impl UnwindSafe for ConnectionHandle
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