pub struct AudioOffloadExtSynchronousProxy { /* private fields */ }
Implementations§
Source§impl AudioOffloadExtSynchronousProxy
impl AudioOffloadExtSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<AudioOffloadExtEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<AudioOffloadExtEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn get_supported_features(
&self,
___deadline: MonotonicInstant,
) -> Result<AudioOffloadExtGetSupportedFeaturesResponse, Error>
pub fn get_supported_features( &self, ___deadline: MonotonicInstant, ) -> Result<AudioOffloadExtGetSupportedFeaturesResponse, Error>
Returns the vendor features supported on this chipset
Sourcepub fn start_audio_offload(
&self,
configuration: &AudioOffloadConfiguration,
controller: ServerEnd<AudioOffloadControllerMarker>,
) -> Result<(), Error>
pub fn start_audio_offload( &self, configuration: &AudioOffloadConfiguration, controller: ServerEnd<AudioOffloadControllerMarker>, ) -> Result<(), Error>
Begin the audio encoding hardware offloading process
Trait Implementations§
Source§impl SynchronousProxy for AudioOffloadExtSynchronousProxy
impl SynchronousProxy for AudioOffloadExtSynchronousProxy
Source§type Proxy = AudioOffloadExtProxy
type Proxy = AudioOffloadExtProxy
The async proxy for the same protocol.
Source§type Protocol = AudioOffloadExtMarker
type Protocol = AudioOffloadExtMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for AudioOffloadExtSynchronousProxy
impl RefUnwindSafe for AudioOffloadExtSynchronousProxy
impl Send for AudioOffloadExtSynchronousProxy
impl Sync for AudioOffloadExtSynchronousProxy
impl Unpin for AudioOffloadExtSynchronousProxy
impl UnwindSafe for AudioOffloadExtSynchronousProxy
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