Struct p25::message::nid::NidReceiver [] [src]

pub struct NidReceiver { /* fields omitted */ }

State machine that attempts to parse a stream of dibits into an NID word.

Methods

impl NidReceiver
[src]

[src]

Create a new NidReceiver with an empty buffer.

[src]

Feed in a data symbol, possibly producing a decoded NID. Return Some(Ok(nid)) if an NID was successfully parsed, Some(Err(err)) if an unrecoverable error occurred, and None for no event.

Trait Implementations

impl HasStats for NidReceiver
[src]

[src]

Retrieve captured statistics.