#[non_exhaustive]pub struct CommissionedFabric {
pub fabric: FabricRecord,
pub peer_node_id: u64,
pub peer_root_public_key: [u8; 65],
pub terminated_at: Stage,
}Expand description
Output of a successful commissioning run. Returned in
Action::Done.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fabric: FabricRecordThe fabric record the device is now a member of (RCAC + IPK + fabric ID).
peer_node_id: u64Operational node ID the device was assigned on this fabric.
peer_root_public_key: [u8; 65]Raw SEC1 uncompressed P-256 (65 bytes) — the device’s NOC public key, extracted from the issued NOC.
terminated_at: StageStage where the run terminated. Always Stage::Cleanup on
success; useful for logging.
Trait Implementations§
Source§impl Clone for CommissionedFabric
impl Clone for CommissionedFabric
Source§fn clone(&self) -> CommissionedFabric
fn clone(&self) -> CommissionedFabric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for CommissionedFabric
impl !UnwindSafe for CommissionedFabric
impl Freeze for CommissionedFabric
impl Send for CommissionedFabric
impl Sync for CommissionedFabric
impl Unpin for CommissionedFabric
impl UnsafeUnpin for CommissionedFabric
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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