Struct quinn_proto::RandomConnectionIdGenerator
source · pub struct RandomConnectionIdGenerator { /* private fields */ }
Expand description
Generates purely random connection IDs of a certain length
Implementations§
Trait Implementations§
source§impl Clone for RandomConnectionIdGenerator
impl Clone for RandomConnectionIdGenerator
source§fn clone(&self) -> RandomConnectionIdGenerator
fn clone(&self) -> RandomConnectionIdGenerator
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 ConnectionIdGenerator for RandomConnectionIdGenerator
impl ConnectionIdGenerator for RandomConnectionIdGenerator
source§fn generate_cid(&mut self) -> ConnectionId
fn generate_cid(&mut self) -> ConnectionId
Generates a new CID Read more
source§impl Debug for RandomConnectionIdGenerator
impl Debug for RandomConnectionIdGenerator
impl Copy for RandomConnectionIdGenerator
Auto Trait Implementations§
impl RefUnwindSafe for RandomConnectionIdGenerator
impl Send for RandomConnectionIdGenerator
impl Sync for RandomConnectionIdGenerator
impl Unpin for RandomConnectionIdGenerator
impl UnwindSafe for RandomConnectionIdGenerator
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