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) -> Self
fn from(x: ConnectionHandle) -> Self
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§impl PartialOrd for ConnectionHandle
impl PartialOrd for ConnectionHandle
impl Copy for ConnectionHandle
impl Eq for ConnectionHandle
impl StructuralPartialEq for ConnectionHandle
Auto Trait Implementations§
impl Freeze for ConnectionHandle
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)