pub struct SetConnectionlessPeripheralBroadcastReceive(/* private fields */);
Expand description
Set Connectionless Peripheral Broadcast Receive command ๐
Used to enable or disable the reception of Connectionless Peripheral Broadcast packets.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for SetConnectionlessPeripheralBroadcastReceive
impl Clone for SetConnectionlessPeripheralBroadcastReceive
Sourceยงfn clone(&self) -> SetConnectionlessPeripheralBroadcastReceive
fn clone(&self) -> SetConnectionlessPeripheralBroadcastReceive
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 SetConnectionlessPeripheralBroadcastReceive
impl Cmd for SetConnectionlessPeripheralBroadcastReceive
Sourceยงtype Params = SetConnectionlessPeripheralBroadcastReceiveParams
type Params = SetConnectionlessPeripheralBroadcastReceiveParams
Parameters type for this command.
Sourceยงfn params(&self) -> &SetConnectionlessPeripheralBroadcastReceiveParams
fn params(&self) -> &SetConnectionlessPeripheralBroadcastReceiveParams
Parameters expected for this command.
Sourceยงimpl From<SetConnectionlessPeripheralBroadcastReceiveParams> for SetConnectionlessPeripheralBroadcastReceive
impl From<SetConnectionlessPeripheralBroadcastReceiveParams> for SetConnectionlessPeripheralBroadcastReceive
Sourceยงfn from(params: SetConnectionlessPeripheralBroadcastReceiveParams) -> Self
fn from(params: SetConnectionlessPeripheralBroadcastReceiveParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for SetConnectionlessPeripheralBroadcastReceive
impl Ord for SetConnectionlessPeripheralBroadcastReceive
Sourceยงfn cmp(&self, other: &SetConnectionlessPeripheralBroadcastReceive) -> Ordering
fn cmp(&self, other: &SetConnectionlessPeripheralBroadcastReceive) -> 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 SetConnectionlessPeripheralBroadcastReceive
impl PartialEq for SetConnectionlessPeripheralBroadcastReceive
Sourceยงfn eq(&self, other: &SetConnectionlessPeripheralBroadcastReceive) -> bool
fn eq(&self, other: &SetConnectionlessPeripheralBroadcastReceive) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Sourceยงimpl PartialOrd for SetConnectionlessPeripheralBroadcastReceive
impl PartialOrd for SetConnectionlessPeripheralBroadcastReceive
Sourceยงimpl SyncCmd for SetConnectionlessPeripheralBroadcastReceive
impl SyncCmd for SetConnectionlessPeripheralBroadcastReceive
Sourceยงtype Return = SetConnectionlessPeripheralBroadcastReceiveReturn
type Return = SetConnectionlessPeripheralBroadcastReceiveReturn
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 SetConnectionlessPeripheralBroadcastReceive
impl WriteHci for SetConnectionlessPeripheralBroadcastReceive
impl Copy for SetConnectionlessPeripheralBroadcastReceive
impl Eq for SetConnectionlessPeripheralBroadcastReceive
impl StructuralPartialEq for SetConnectionlessPeripheralBroadcastReceive
Auto Trait Implementationsยง
impl Freeze for SetConnectionlessPeripheralBroadcastReceive
impl RefUnwindSafe for SetConnectionlessPeripheralBroadcastReceive
impl Send for SetConnectionlessPeripheralBroadcastReceive
impl Sync for SetConnectionlessPeripheralBroadcastReceive
impl Unpin for SetConnectionlessPeripheralBroadcastReceive
impl UnwindSafe for SetConnectionlessPeripheralBroadcastReceive
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.