Struct fidl_fuchsia_bluetooth_sys::LeBondData
source · 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 Decode<LeBondData> for LeBondData
impl Decode<LeBondData> for LeBondData
source§impl Default for LeBondData
impl Default for LeBondData
source§fn default() -> LeBondData
fn default() -> LeBondData
source§impl Encode<LeBondData> for &LeBondData
impl Encode<LeBondData> for &LeBondData
source§impl PartialEq for LeBondData
impl PartialEq for LeBondData
source§fn eq(&self, other: &LeBondData) -> bool
fn eq(&self, other: &LeBondData) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for LeBondData
impl TypeMarker for LeBondData
§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
§type Borrowed<'a> = &'a LeBondData
type Borrowed<'a> = &'a LeBondData
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more