pub struct CodecSpecificConfigLTV {
pub sampling_frequency: Option<SamplingFrequency>,
pub frame_duration: Option<FrameDuration>,
pub audio_channel_alloc: Option<AudioLocation>,
pub octets_per_codec_frame: Option<u16>,
pub codec_frame_blocks_per_sdu: Option<u8>,
}
Expand description
See Assigned Numbers section 6.12.5 Codec_Specific_Configuration LTV structures.
Fields§
§sampling_frequency: Option<SamplingFrequency>
§frame_duration: Option<FrameDuration>
§audio_channel_alloc: Option<AudioLocation>
§octets_per_codec_frame: Option<u16>
§codec_frame_blocks_per_sdu: Option<u8>
Implementations§
Source§impl CodecSpecificConfigLTV
impl CodecSpecificConfigLTV
pub fn to_le_bytes(&self) -> Vec<u8> ⓘ
pub fn to_be_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Default for CodecSpecificConfigLTV
impl Default for CodecSpecificConfigLTV
Source§fn default() -> CodecSpecificConfigLTV
fn default() -> CodecSpecificConfigLTV
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodecSpecificConfigLTV
impl RefUnwindSafe for CodecSpecificConfigLTV
impl Send for CodecSpecificConfigLTV
impl Sync for CodecSpecificConfigLTV
impl Unpin for CodecSpecificConfigLTV
impl UnwindSafe for CodecSpecificConfigLTV
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more