Struct UmpReceiver
pub struct UmpReceiver { /* private fields */ }Expand description
Unique consumer; pop is nonblocking and allocates nothing. Its endpoint and queued storage must be destroyed outside callbacks, as with the producer.
Implementations§
§impl UmpReceiver
impl UmpReceiver
pub fn pop(&mut self) -> Option<TimedUmp>
pub fn statistics(&self) -> MidiInputStatistics
pub fn producer_gone(&self) -> bool
pub fn producer_gone(&self) -> bool
True once the producer is gone. Already-published packets remain drainable.