Struct Gain Meter Mailbox
pub struct GainMeterMailbox(/* private fields */);Expand description
Separate audio-to-control mailbox. Intermediate blocks may be overwritten. No retries, event queue, GUI scheduling, or peak retention across blocks.
Implementations§
§impl GainMeterMailbox
impl GainMeterMailbox
pub fn try_publish(&self, meters: GainMeters) -> Result<u64, PublishError>
pub fn try_publish(&self, meters: GainMeters) -> Result<u64, PublishError>
Publish one complete input/output block reading; drop it when busy.
pub fn try_read(&self) -> Option<GainMeters>
pub fn try_read(&self) -> Option<GainMeters>
One coherent read, or None while publication overlaps the read.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for GainMeterMailbox
impl RefUnwindSafe for GainMeterMailbox
impl Send for GainMeterMailbox
impl Sync for GainMeterMailbox
impl Unpin for GainMeterMailbox
impl UnsafeUnpin for GainMeterMailbox
impl UnwindSafe for GainMeterMailbox
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more