pub struct Info(pub Info);
Expand description
Device info from the fuchsia.audio.device/Registry
protocol.
Tuple Fields§
§0: Info
Implementations§
Source§impl Info
impl Info
pub fn token_id(&self) -> TokenId
pub fn registry_selector(&self) -> RegistrySelector
pub fn device_type(&self) -> Type
pub fn device_name(&self) -> &str
pub fn unique_instance_id(&self) -> Option<UniqueInstanceId>
pub fn plug_detect_capabilities(&self) -> Option<PlugDetectCapabilities>
pub fn gain_capabilities(&self) -> Option<GainCapabilities>
pub fn clock_domain(&self) -> Option<ClockDomain>
pub fn supported_ring_buffer_formats( &self, ) -> Result<BTreeMap<ElementId, Vec<PcmFormatSet>>, String>
pub fn supported_dai_formats( &self, ) -> Result<BTreeMap<ElementId, Vec<DaiFormatSet>>, String>
Trait Implementations§
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)