Struct p25::voice::term::VoiceLCTerminatorReceiver   
                   
                       [−]
                   
               [src]
pub struct VoiceLCTerminatorReceiver { /* fields omitted */ }State machine for receiving a link control voice terminator.
Methods
impl VoiceLCTerminatorReceiver[src]
pub fn new() -> VoiceLCTerminatorReceiver[src]
Create a new VoiceLCTerminatorReceiver in the initial state.
pub fn feed(&mut self, dibit: Dibit) -> Option<Result<LinkControlFields>>[src]
Feed in a baseband symbol, possibly producing a link control packet. Return
Some(Ok(lc)) if an LC packet was successfully recovered from the terminator,
Some(Err(err)) if an error occurred, and None in the case of no event.