pub struct AudioApiClient { /* private fields */ }Available on crate feature
audio_api only.Implementations§
Source§impl AudioApiClient
impl AudioApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl AudioApi for AudioApiClient
impl AudioApi for AudioApiClient
Source§fn get_audio_default_sink<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<AudioSinkDto, Error<GetAudioDefaultSinkError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
fn get_audio_default_sink<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<AudioSinkDto, Error<GetAudioDefaultSinkError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
GET /audio/defaultsink
Source§fn get_audio_default_source<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<AudioSourceDto, Error<GetAudioDefaultSourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
fn get_audio_default_source<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<AudioSourceDto, Error<GetAudioDefaultSourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
GET /audio/defaultsource
Source§fn get_audio_sinks<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<AudioSinkDto>, Error<GetAudioSinksError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
fn get_audio_sinks<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<AudioSinkDto>, Error<GetAudioSinksError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
GET /audio/sinks
Source§fn get_audio_sources<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<AudioSourceDto>, Error<GetAudioSourcesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
fn get_audio_sources<'accept_language, 'life0, 'async_trait>(
&'life0 self,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<AudioSourceDto>, Error<GetAudioSourcesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
GET /audio/sources
Auto Trait Implementations§
impl Freeze for AudioApiClient
impl !RefUnwindSafe for AudioApiClient
impl Send for AudioApiClient
impl Sync for AudioApiClient
impl Unpin for AudioApiClient
impl !UnwindSafe for AudioApiClient
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