pub struct SequenceProperties {
    pub unused_bits: u8,
    pub timestamp_bits: u8,
    pub node_id_bits: u8,
    pub sequence_bits: u8,
    pub custom_epoch: SystemTime,
    pub micros_ten_power: u8,
    pub node_id: u16,
    pub sequence: Cell<u16>,
    pub max_sequence: u16,
    pub backoff_cooldown_start_ns: u64,
    /* private fields */
}

Fields

unused_bits: u8timestamp_bits: u8node_id_bits: u8sequence_bits: u8custom_epoch: SystemTimemicros_ten_power: u8node_id: u16sequence: Cell<u16>max_sequence: u16backoff_cooldown_start_ns: u64

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.