pub struct PeerInfo {
pub node_id: u64,
pub fabric_id: u64,
pub noc: MatterCertificate,
pub session_id: u16,
}Expand description
Identity of the peer we just shook hands with.
Fields§
§node_id: u64Peer’s Node ID (extracted from peer’s NOC subject DN).
fabric_id: u64Peer’s Fabric ID (extracted from peer’s NOC subject DN).
noc: MatterCertificatePeer’s NOC verbatim. Available for cert-pinning callers (ACL evaluation, fast-path re-binding, etc.).
session_id: u16Peer’s session ID for messages sent BACK to it.
Trait Implementations§
impl Eq for PeerInfo
impl StructuralPartialEq for PeerInfo
Auto Trait Implementations§
impl Freeze for PeerInfo
impl RefUnwindSafe for PeerInfo
impl Send for PeerInfo
impl Sync for PeerInfo
impl Unpin for PeerInfo
impl UnsafeUnpin for PeerInfo
impl UnwindSafe for PeerInfo
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