pub struct InputStatusHandle { /* private fields */ }Expand description
Status-only diagnostic input handle. Exposes read-only per-input status and metrics without competing raw PCM read methods or tee buffers.
Implementations§
Source§impl InputStatusHandle
impl InputStatusHandle
pub fn target_index(&self) -> usize
pub fn target_id(&self) -> &Arc<str> ⓘ
pub fn backend(&self) -> BackendId
pub fn format(&self) -> &Arc<Format> ⓘ
pub fn native_format(&self) -> &Arc<Format> ⓘ
pub fn mixer_format(&self) -> &Arc<Format> ⓘ
pub fn is_resampled(&self) -> bool
pub fn is_identity_bypass(&self) -> bool
pub fn snapshot(&self) -> Option<InputDiagnosticSnapshot>
Trait Implementations§
Source§impl Clone for InputStatusHandle
impl Clone for InputStatusHandle
Source§fn clone(&self) -> InputStatusHandle
fn clone(&self) -> InputStatusHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for InputStatusHandle
impl Freeze for InputStatusHandle
impl Move for InputStatusHandle
impl RefUnwindSafe for InputStatusHandle
impl Send for InputStatusHandle
impl Sync for InputStatusHandle
impl Unpin for InputStatusHandle
impl UnsafeUnpin for InputStatusHandle
impl UnwindSafe for InputStatusHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more