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