pub struct SynchronousConnectionParameters<S: Storage, ST: State = UncheckedState> { /* private fields */ }Implementations§
Source§impl<S: Storage> SynchronousConnectionParameters<S, UncheckedState>
impl<S: Storage> SynchronousConnectionParameters<S, UncheckedState>
Source§impl<S: Storage, ST: State> SynchronousConnectionParameters<S, ST>
impl<S: Storage, ST: State> SynchronousConnectionParameters<S, ST>
Sourcepub unsafe fn new_in_state(storage: S) -> Self
pub unsafe fn new_in_state(storage: S) -> Self
Constructs a view in a specific typestate.
§Safety
The caller must ensure that storage satisfies the layout invariants for ST.
pub fn into_storage(self) -> S
pub fn transmit_bandwidth(&self) -> UInt<32, LittleEndian, S::Sliced<'_>, ST>
pub fn receive_bandwidth(&self) -> UInt<32, LittleEndian, S::Sliced<'_>, ST>
pub fn vcf_size(&self) -> VirtualField<u64>
pub fn transmit_coding_format( &self, ) -> SynchronousConnectionParameters_VendorCodingFormat<S::Sliced<'_>, UncheckedState>
pub fn receive_coding_format( &self, ) -> SynchronousConnectionParameters_VendorCodingFormat<S::Sliced<'_>, UncheckedState>
pub fn transmit_codec_frame_size_bytes( &self, ) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn receive_codec_frame_size_bytes( &self, ) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn input_bandwidth(&self) -> UInt<32, LittleEndian, S::Sliced<'_>, ST>
pub fn output_bandwidth(&self) -> UInt<32, LittleEndian, S::Sliced<'_>, ST>
pub fn input_coding_format( &self, ) -> SynchronousConnectionParameters_VendorCodingFormat<S::Sliced<'_>, UncheckedState>
pub fn output_coding_format( &self, ) -> SynchronousConnectionParameters_VendorCodingFormat<S::Sliced<'_>, UncheckedState>
pub fn input_coded_data_size_bits( &self, ) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn output_coded_data_size_bits( &self, ) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn input_pcm_data_format( &self, ) -> EnumView<PcmDataFormat, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn output_pcm_data_format( &self, ) -> EnumView<PcmDataFormat, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn input_pcm_sample_payload_msb_position( &self, ) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn output_pcm_sample_payload_msb_position( &self, ) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn input_data_path( &self, ) -> EnumView<ScoDataPath, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn output_data_path( &self, ) -> EnumView<ScoDataPath, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
pub fn input_transport_unit_size_bits( &self, ) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn output_transport_unit_size_bits( &self, ) -> UInt<8, LittleEndian, S::Sliced<'_>, ST>
pub fn max_latency_ms(&self) -> UInt<16, LittleEndian, S::Sliced<'_>, ST>
pub fn emboss_reserved_anonymous_field_15( &self, ) -> SynchronousConnectionParameters_EmbossReservedAnonymousField15<S::Sliced<'_>, UncheckedState>
pub fn retransmission_effort( &self, ) -> EnumView<SynchronousConnectionParameters_ScoRetransmissionEffort, UInt<8, LittleEndian, S::Sliced<'_>, ST>>
Trait Implementations§
Source§impl<S: Storage> CheckComplete for SynchronousConnectionParameters<S, UncheckedState>
impl<S: Storage> CheckComplete for SynchronousConnectionParameters<S, UncheckedState>
type Completed = SynchronousConnectionParameters<S, CompleteState>
fn check_complete(self) -> Result<Self::Completed, Error>
Source§impl<S: Storage> CheckOk for SynchronousConnectionParameters<S, UncheckedState>
impl<S: Storage> CheckOk for SynchronousConnectionParameters<S, UncheckedState>
Source§impl<S: Storage> CheckOk for SynchronousConnectionParameters<S, CompleteState>
impl<S: Storage> CheckOk for SynchronousConnectionParameters<S, CompleteState>
Auto Trait Implementations§
impl<S, ST> Freeze for SynchronousConnectionParameters<S, ST>where
S: Freeze,
impl<S, ST> RefUnwindSafe for SynchronousConnectionParameters<S, ST>where
S: RefUnwindSafe,
ST: RefUnwindSafe,
impl<S, ST> Send for SynchronousConnectionParameters<S, ST>
impl<S, ST> Sync for SynchronousConnectionParameters<S, ST>
impl<S, ST> Unpin for SynchronousConnectionParameters<S, ST>
impl<S, ST> UnsafeUnpin for SynchronousConnectionParameters<S, ST>where
S: UnsafeUnpin,
impl<S, ST> UnwindSafe for SynchronousConnectionParameters<S, ST>where
S: UnwindSafe,
ST: UnwindSafe,
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