Struct frostflake::pool::GeneratorPoolOptions
[−]
[src]
pub struct GeneratorPoolOptions { /* fields omitted */ }
Methods
impl GeneratorPoolOptions
[src]
fn bits(self, ts_bits: u8, pool_bits: u8, node_bits: u8, seq_bits: u8) -> Self
fn base_ts(self, base_ts: u64) -> Self
fn node(self, node: u64) -> Self
fn time_fn(self, time_fn: fn() -> u64) -> Self
Trait Implementations
impl Clone for GeneratorPoolOptions
[src]
fn clone(&self) -> GeneratorPoolOptions
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
impl Default for GeneratorPoolOptions
[src]
fn default() -> GeneratorPoolOptions
Returns the "default value" for a type. Read more