pub struct LeBondData {
pub connection_parameters: Option<LeConnectionParameters>,
pub services: Option<Vec<Uuid>>,
pub irk: Option<PeerKey>,
pub csrk: Option<PeerKey>,
pub peer_ltk: Option<Ltk>,
pub local_ltk: Option<Ltk>,
/* private fields */
}
Fields§
§connection_parameters: Option<LeConnectionParameters>
The peer’s preferred connection parameters, if known.
services: Option<Vec<Uuid>>
Known GATT service UUIDs.
irk: Option<PeerKey>
Identity Resolving RemoteKey used to generate and resolve random addresses.
csrk: Option<PeerKey>
Connection Signature Resolving RemoteKey used for data signing without encryption.
peer_ltk: Option<Ltk>
LE long-term key used to encrypt a connection when the peer is in the LE Peripheral role.
In legacy pairing (peer_ltk.security.secure_connections
is false), this key corresponds
to the key distributed by the peer. In Secure Connections pairing there is only one LTK and
peer_ltk
is the same as local_ltk
.
local_ltk: Option<Ltk>
LE long-term key used to encrypt a connection when the peer is in the LE Central role.
In legacy pairing (local_ltk.security.secure_connections
is false), this key corresponds
to the key distributed by the local device. In Secure Connections pairing there is only one
LTK and local_ltk
is the same as peer_ltk
.
Trait Implementations§
Source§impl Clone for LeBondData
impl Clone for LeBondData
Source§fn clone(&self) -> LeBondData
fn clone(&self) -> LeBondData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for LeBondData
impl Debug for LeBondData
Source§impl<D: ResourceDialect> Decode<LeBondData, D> for LeBondData
impl<D: ResourceDialect> Decode<LeBondData, D> for LeBondData
Source§impl Default for LeBondData
impl Default for LeBondData
Source§fn default() -> LeBondData
fn default() -> LeBondData
Source§impl<D: ResourceDialect> Encode<LeBondData, D> for &LeBondData
impl<D: ResourceDialect> Encode<LeBondData, D> for &LeBondData
Source§impl PartialEq for LeBondData
impl PartialEq for LeBondData
Source§impl TypeMarker for LeBondData
impl TypeMarker for LeBondData
Source§type Owned = LeBondData
type Owned = LeBondData
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for LeBondData
impl ValueTypeMarker for LeBondData
Source§type Borrowed<'a> = &'a LeBondData
type Borrowed<'a> = &'a LeBondData
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for LeBondData
impl StructuralPartialEq for LeBondData
Auto Trait Implementations§
impl Freeze for LeBondData
impl RefUnwindSafe for LeBondData
impl Send for LeBondData
impl Sync for LeBondData
impl Unpin for LeBondData
impl UnwindSafe for LeBondData
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)