Struct frostflake::pool::GeneratorPool
[−]
[src]
pub struct GeneratorPool { /* fields omitted */ }
Methods
impl GeneratorPool
[src]
fn new(size: usize, opts: GeneratorPoolOptions) -> GeneratorPool
fn get_generator(&self) -> PooledGenerator
fn generate(&self) -> u64
fn extract(&self, id: u64) -> (u64, u64, u64, u64)
Trait Implementations
impl Clone for GeneratorPool
[src]
fn clone(&self) -> GeneratorPool
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more