pub struct CodecServiceProxy(/* private fields */);
Expand description
§Deprecation
Not supported anymore, instead use an Audio Composite with one DAI and no Ring Buffer, see Audio Drivers Architecture
Implementations§
Source§impl CodecServiceProxy
impl CodecServiceProxy
pub fn connect_to_codec(&self) -> Result<CodecProxy, Error>
Sourcepub fn connect_to_codec_sync(&self) -> Result<CodecSynchronousProxy, Error>
pub fn connect_to_codec_sync(&self) -> Result<CodecSynchronousProxy, Error>
Like connect_to_codec
, but returns a sync proxy.
See Self::connect_to_codec
for more details.
Sourcepub fn connect_channel_to_codec(
&self,
server_end: ServerEnd<CodecMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_codec( &self, server_end: ServerEnd<CodecMarker>, ) -> Result<(), Error>
Like connect_to_codec
, but accepts a server end.
See Self::connect_to_codec
for more details.
Trait Implementations§
Source§impl ServiceProxy for CodecServiceProxy
impl ServiceProxy for CodecServiceProxy
Source§type Service = CodecServiceMarker
type Service = CodecServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for CodecServiceProxy
impl !RefUnwindSafe for CodecServiceProxy
impl !Send for CodecServiceProxy
impl !Sync for CodecServiceProxy
impl Unpin for CodecServiceProxy
impl !UnwindSafe for CodecServiceProxy
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