pub fn new_fixed_sequencer(s: u16) -> impl Sequencer {
    SequencerImpl {
        sequence_number: if s == 0 {
            Arc::new(AtomicU16::new(0xFFFF))
        } else {
            Arc::new(AtomicU16::new(s - 1))
        },
        roll_over_count: Arc::new(AtomicU64::new(0)),
    }
}
/// NewFixedSequencer returns a new sequencer starting from a specific
/// sequence number
NewFixedSequencer returns a new sequencer starting from a specific
sequence number
NewFixedSequencer returns a new sequencer starting from a specific sequence number
pub fn new_fixed_sequencer(s: u16) -> impl Sequencer {
    SequencerImpl {
        sequence_number: if s == 0 {
            Arc::new(AtomicU16::new(0xFFFF))
        } else {
            Arc::new(AtomicU16::new(s - 1))
        },
        roll_over_count: Arc::new(AtomicU64::new(0)),
    }
}
pub fn new_fixed_sequencer ( s : u16 ) -> impl Sequencer { SequencerImpl { sequence_number : if s == 0 { Arc :: new ( AtomicU16 :: new ( 0xFFFF ) ) } else { Arc :: new ( AtomicU16 :: new ( s - 1 ) ) } , roll_over_count : Arc :: new ( AtomicU64 :: new ( 0 ) ) , } }
NewFixedSequencer returns a new sequencer starting from a specific
sequence number
NewFixedSequencer returns a new sequencer starting from a specific sequence number
s
u16
s
u16