pub struct EnhancedSetupSynchronousConnection(/* private fields */);
Expand description
Enhanced Setup Synchronous Connection command ๐
Adds a new or modifies an existing synchronous logical transport (SCO or eSCO) on a physical link with enhanced parameters.
Implementationsยง
Sourceยงimpl EnhancedSetupSynchronousConnection
impl EnhancedSetupSynchronousConnection
Sourcepub fn new(param: EnhancedSetupSynchronousConnectionParams) -> Self
pub fn new(param: EnhancedSetupSynchronousConnectionParams) -> Self
Create a new instance of the command with the provided parameters.
Trait Implementationsยง
Sourceยงimpl Clone for EnhancedSetupSynchronousConnection
impl Clone for EnhancedSetupSynchronousConnection
Sourceยงfn clone(&self) -> EnhancedSetupSynchronousConnection
fn clone(&self) -> EnhancedSetupSynchronousConnection
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 Cmd for EnhancedSetupSynchronousConnection
impl Cmd for EnhancedSetupSynchronousConnection
Sourceยงtype Params = EnhancedSetupSynchronousConnectionParams
type Params = EnhancedSetupSynchronousConnectionParams
Parameters type for this command.
Sourceยงfn params(&self) -> &EnhancedSetupSynchronousConnectionParams
fn params(&self) -> &EnhancedSetupSynchronousConnectionParams
Parameters expected for this command.
Sourceยงimpl From<EnhancedSetupSynchronousConnectionParams> for EnhancedSetupSynchronousConnection
impl From<EnhancedSetupSynchronousConnectionParams> for EnhancedSetupSynchronousConnection
Sourceยงfn from(params: EnhancedSetupSynchronousConnectionParams) -> Self
fn from(params: EnhancedSetupSynchronousConnectionParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for EnhancedSetupSynchronousConnection
impl Ord for EnhancedSetupSynchronousConnection
Sourceยงfn cmp(&self, other: &EnhancedSetupSynchronousConnection) -> Ordering
fn cmp(&self, other: &EnhancedSetupSynchronousConnection) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for EnhancedSetupSynchronousConnection
impl PartialEq for EnhancedSetupSynchronousConnection
Sourceยงfn eq(&self, other: &EnhancedSetupSynchronousConnection) -> bool
fn eq(&self, other: &EnhancedSetupSynchronousConnection) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for EnhancedSetupSynchronousConnection
impl PartialOrd for EnhancedSetupSynchronousConnection
Sourceยงimpl SyncCmd for EnhancedSetupSynchronousConnection
impl SyncCmd for EnhancedSetupSynchronousConnection
Sourceยงtype Return = ()
type Return = ()
The type of the parameters for the
CommandComplete
eventSourceยงfn param_handle(&self)
fn param_handle(&self)
Handle parameter for this command.
Sourceยงfn return_handle(_data: &[u8]) -> Result<Self::Handle, FromHciBytesError>
fn return_handle(_data: &[u8]) -> Result<Self::Handle, FromHciBytesError>
Extracts the
Self::Handle
from the return parameters for commands that return a handle. Read moreSourceยงimpl WriteHci for EnhancedSetupSynchronousConnection
impl WriteHci for EnhancedSetupSynchronousConnection
impl Copy for EnhancedSetupSynchronousConnection
impl Eq for EnhancedSetupSynchronousConnection
impl StructuralPartialEq for EnhancedSetupSynchronousConnection
Auto Trait Implementationsยง
impl Freeze for EnhancedSetupSynchronousConnection
impl RefUnwindSafe for EnhancedSetupSynchronousConnection
impl Send for EnhancedSetupSynchronousConnection
impl Sync for EnhancedSetupSynchronousConnection
impl Unpin for EnhancedSetupSynchronousConnection
impl UnwindSafe for EnhancedSetupSynchronousConnection
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ยงimpl<T> HostToControllerPacket for Twhere
T: Cmd,
impl<T> HostToControllerPacket for Twhere
T: Cmd,
Sourceยงconst KIND: PacketKind = const KIND: PacketKind = PacketKind::Cmd;
const KIND: PacketKind = const KIND: PacketKind = PacketKind::Cmd;
Packet kind associated with this HCI packet.