pub struct LeSetPhy(/* private fields */);
Expand description
LE Set PHY command ๐
Implementationsยง
Sourceยงimpl LeSetPhy
impl LeSetPhy
Sourcepub fn new(
handle: ConnHandle,
all_phys: AllPhys,
tx_phys: PhyMask,
rx_phys: PhyMask,
phy_options: PhyOptions,
) -> Self
pub fn new( handle: ConnHandle, all_phys: AllPhys, tx_phys: PhyMask, rx_phys: PhyMask, phy_options: PhyOptions, ) -> Self
Create a new instance of a command.
Trait Implementationsยง
Sourceยงimpl Cmd for LeSetPhy
impl Cmd for LeSetPhy
Sourceยงtype Params = LeSetPhyParams
type Params = LeSetPhyParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeSetPhyParams
fn params(&self) -> &LeSetPhyParams
Parameters expected for this command.
Sourceยงimpl From<LeSetPhyParams> for LeSetPhy
impl From<LeSetPhyParams> for LeSetPhy
Sourceยงfn from(params: LeSetPhyParams) -> Self
fn from(params: LeSetPhyParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for LeSetPhy
impl Ord for LeSetPhy
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 PartialOrd for LeSetPhy
impl PartialOrd for LeSetPhy
Sourceยงimpl WriteHci for LeSetPhy
impl WriteHci for LeSetPhy
impl Copy for LeSetPhy
impl Eq for LeSetPhy
impl StructuralPartialEq for LeSetPhy
Auto Trait Implementationsยง
impl Freeze for LeSetPhy
impl RefUnwindSafe for LeSetPhy
impl Send for LeSetPhy
impl Sync for LeSetPhy
impl Unpin for LeSetPhy
impl UnwindSafe for LeSetPhy
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.