pub struct ValidScoConnectionParameters {
pub parameter_set: HfpParameterSet,
pub air_coding_format: AssignedCodingFormat,
pub air_frame_size: u16,
pub io_bandwidth: u32,
pub io_coding_format: AssignedCodingFormat,
pub io_frame_size: u16,
pub io_pcm_data_format: Option<SampleFormat>,
pub io_pcm_sample_payload_msb_position: Option<u8>,
pub path: DataPath,
}
Fields§
§parameter_set: HfpParameterSet
§air_coding_format: AssignedCodingFormat
§air_frame_size: u16
§io_bandwidth: u32
§io_coding_format: AssignedCodingFormat
§io_frame_size: u16
§io_pcm_data_format: Option<SampleFormat>
§io_pcm_sample_payload_msb_position: Option<u8>
§path: DataPath
Trait Implementations§
Source§impl Clone for ValidScoConnectionParameters
impl Clone for ValidScoConnectionParameters
Source§fn clone(&self) -> ValidScoConnectionParameters
fn clone(&self) -> ValidScoConnectionParameters
Returns a copy 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 ValidScoConnectionParameters
impl Debug for ValidScoConnectionParameters
Source§impl From<ValidScoConnectionParameters> for ScoConnectionParameters
impl From<ValidScoConnectionParameters> for ScoConnectionParameters
Source§fn from(src: ValidScoConnectionParameters) -> ScoConnectionParameters
fn from(src: ValidScoConnectionParameters) -> ScoConnectionParameters
Converts to this type from the input type.
Source§impl Inspect for &mut ValidScoConnectionParameters
impl Inspect for &mut ValidScoConnectionParameters
Source§impl PartialEq for ValidScoConnectionParameters
impl PartialEq for ValidScoConnectionParameters
Source§fn eq(&self, other: &ValidScoConnectionParameters) -> bool
fn eq(&self, other: &ValidScoConnectionParameters) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl TryFrom<ScoConnectionParameters> for ValidScoConnectionParameters
impl TryFrom<ScoConnectionParameters> for ValidScoConnectionParameters
Source§type Error = ScoConnectionParametersValidationError
type Error = ScoConnectionParametersValidationError
The type returned in the event of a conversion error.
Source§impl Unit for ValidScoConnectionParameters
impl Unit for ValidScoConnectionParameters
Source§type Data = Node
type Data = Node
This associated type owns a subtree (either a property or a node) of a parent inspect node.
May be nested. When dropped, the subtree is detached from the parent.
Default is required such that a detached state can be constructed. The base inspect node
and property types implement default.
Source§fn inspect_create(&self, parent: &Node, name: impl AsRef<str>) -> Self::Data
fn inspect_create(&self, parent: &Node, name: impl AsRef<str>) -> Self::Data
Insert an inspect subtree at
parent[name]
with values from self
and return
the inspect data.Source§fn inspect_update(&self, data: &mut Self::Data)
fn inspect_update(&self, data: &mut Self::Data)
Update the inspect subtree owned by the inspect data with values from self.
impl StructuralPartialEq for ValidScoConnectionParameters
Auto Trait Implementations§
impl Freeze for ValidScoConnectionParameters
impl RefUnwindSafe for ValidScoConnectionParameters
impl Send for ValidScoConnectionParameters
impl Sync for ValidScoConnectionParameters
impl Unpin for ValidScoConnectionParameters
impl UnwindSafe for ValidScoConnectionParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)