pub struct LeEncrypt(/* private fields */);
Expand description
LE Encrypt command ๐
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Cmd for LeEncrypt
impl Cmd for LeEncrypt
Sourceยงtype Params = LeEncryptParams
type Params = LeEncryptParams
Parameters type for this command.
Sourceยงfn params(&self) -> &LeEncryptParams
fn params(&self) -> &LeEncryptParams
Parameters expected for this command.
Sourceยงimpl From<LeEncryptParams> for LeEncrypt
impl From<LeEncryptParams> for LeEncrypt
Sourceยงfn from(params: LeEncryptParams) -> Self
fn from(params: LeEncryptParams) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for LeEncrypt
impl Ord for LeEncrypt
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 LeEncrypt
impl PartialOrd for LeEncrypt
Sourceยงimpl SyncCmd for LeEncrypt
impl SyncCmd for LeEncrypt
Sourceยง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 LeEncrypt
impl WriteHci for LeEncrypt
impl Copy for LeEncrypt
impl Eq for LeEncrypt
impl StructuralPartialEq for LeEncrypt
Auto Trait Implementationsยง
impl Freeze for LeEncrypt
impl RefUnwindSafe for LeEncrypt
impl Send for LeEncrypt
impl Sync for LeEncrypt
impl Unpin for LeEncrypt
impl UnwindSafe for LeEncrypt
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.