Struct bip_util::trans::SequentialIds [] [src]

pub struct SequentialIds<T> { /* fields omitted */ }

Generates sequentially unique ids and wraps when overflow occurs.

Methods

impl<T> SequentialIds<T> where
    T: Zero
[src]

Create a new SequentialIds struct.

Create a new SequentialIds struct at the starting value.

Trait Implementations

impl<T> TransactionIds<T> for SequentialIds<T> where
    T: One + Clone,
    Wrapping<T>: Add<Wrapping<T>, Output = Wrapping<T>>, 
[src]