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