pub enum RealtimeAudioFormats {
PCMAudioFormat {
rate: u32,
},
PCMUAudioFormat,
PCMAAudioFormat,
}Available on crate feature
realtime only.Variants§
PCMAudioFormat
The PCM audio format. Only a 24kHz sample rate is supported.
PCMUAudioFormat
The G.711 μ-law format.
PCMAAudioFormat
The G.711 A-law format.
Trait Implementations§
Source§impl Clone for RealtimeAudioFormats
impl Clone for RealtimeAudioFormats
Source§fn clone(&self) -> RealtimeAudioFormats
fn clone(&self) -> RealtimeAudioFormats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RealtimeAudioFormats
impl Debug for RealtimeAudioFormats
Source§impl<'de> Deserialize<'de> for RealtimeAudioFormats
impl<'de> Deserialize<'de> for RealtimeAudioFormats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RealtimeAudioFormats
impl RefUnwindSafe for RealtimeAudioFormats
impl Send for RealtimeAudioFormats
impl Sync for RealtimeAudioFormats
impl Unpin for RealtimeAudioFormats
impl UnwindSafe for RealtimeAudioFormats
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