Struct p25::voice::frame_group::FrameGroupReceiver
[−]
[src]
pub struct FrameGroupReceiver<E: Extra> { /* fields omitted */ }State machine that receives the various pieces that make up a frame group.
Methods
impl<E: Extra> FrameGroupReceiver<E>[src]
pub fn new() -> FrameGroupReceiver<E>[src]
Create a new FrameGroupReceiver in the initial state.
pub fn done(&self) -> bool[src]
Whether the full frame group has been received.
pub fn feed(&mut self, dibit: Dibit) -> Option<Result<FrameGroupEvent<E>>>[src]
Feed in a baseband symbol, possibly producing an event. Return Some(Ok(event))
if a nominal event occurred, Some(Err(err)) if an error occurred, and None in
the case of no event.