pub struct LeExtCreateConnV2Params {
pub adv_handle: AdvHandle,
pub subevent: u8,
pub initiator_filter_policy: bool,
pub own_addr_kind: AddrKind,
pub peer_addr_kind: AddrKind,
pub peer_addr: BdAddr,
pub initiating_phys: PhyParams<InitiatingPhy>,
}
Expand description
LE Extended Create Connection (v2) command ๐
Fieldsยง
ยงadv_handle: AdvHandle
The advertising handle to use.
subevent: u8
Use connection sub-events.
initiator_filter_policy: bool
Should use the initiator filter policy or not.
own_addr_kind: AddrKind
What kind of address for self.
peer_addr_kind: AddrKind
What kind of address for peer.
peer_addr: BdAddr
The peer address to connect to.
initiating_phys: PhyParams<InitiatingPhy>
Which phys used for connecting.
Trait Implementationsยง
Sourceยงimpl Clone for LeExtCreateConnV2Params
impl Clone for LeExtCreateConnV2Params
Sourceยงfn clone(&self) -> LeExtCreateConnV2Params
fn clone(&self) -> LeExtCreateConnV2Params
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 LeExtCreateConnV2Params
impl Debug for LeExtCreateConnV2Params
Sourceยงimpl From<LeExtCreateConnV2Params> for LeExtCreateConnV2
impl From<LeExtCreateConnV2Params> for LeExtCreateConnV2
Sourceยงfn from(params: LeExtCreateConnV2Params) -> Self
fn from(params: LeExtCreateConnV2Params) -> Self
Converts to this type from the input type.
Sourceยงimpl Hash for LeExtCreateConnV2Params
impl Hash for LeExtCreateConnV2Params
Sourceยงimpl Ord for LeExtCreateConnV2Params
impl Ord for LeExtCreateConnV2Params
Sourceยงfn cmp(&self, other: &LeExtCreateConnV2Params) -> Ordering
fn cmp(&self, other: &LeExtCreateConnV2Params) -> 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 LeExtCreateConnV2Params
impl PartialEq for LeExtCreateConnV2Params
Sourceยงimpl PartialOrd for LeExtCreateConnV2Params
impl PartialOrd for LeExtCreateConnV2Params
Sourceยงimpl WriteHci for LeExtCreateConnV2Params
impl WriteHci for LeExtCreateConnV2Params
impl Copy for LeExtCreateConnV2Params
impl Eq for LeExtCreateConnV2Params
impl StructuralPartialEq for LeExtCreateConnV2Params
Auto Trait Implementationsยง
impl Freeze for LeExtCreateConnV2Params
impl RefUnwindSafe for LeExtCreateConnV2Params
impl Send for LeExtCreateConnV2Params
impl Sync for LeExtCreateConnV2Params
impl Unpin for LeExtCreateConnV2Params
impl UnwindSafe for LeExtCreateConnV2Params
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