pub struct Completion {
pub error: CommissioningError,
pub close_pase_sessions: bool,
pub cleanup: Option<Cleanup>,
}Expand description
What CommissioningComplete produced.
§11.10.7.6’s five actions on success: steps 1 and 5 (disarm, reset the breadcrumb) happen
inside the cluster; steps 2, 3 and 4 — close the commissioning window, revoke PASE
privileges, clear PASE sessions — are the device’s, and Completion::cleanup says so.
Fields§
§error: CommissioningErrorThe ErrorCode that went into the response.
close_pase_sessions: boolSet on success: steps 3 and 4 — revoke the temporary administrative privileges granted to any open PASE session, and clear its Secure Session Context.
cleanup: Option<Cleanup>§11.10.7.2.2’s cleanup steps, owed to a fail-safe context that had already lapsed when the command arrived. A successful completion is not a rollback and produces none.
Trait Implementations§
Source§impl Clone for Completion
impl Clone for Completion
impl Copy for Completion
Source§impl Debug for Completion
impl Debug for Completion
impl Eq for Completion
Source§impl PartialEq for Completion
impl PartialEq for Completion
impl StructuralPartialEq for Completion
Auto Trait Implementations§
impl Forget for Completion
impl Freeze for Completion
impl Move for Completion
impl RefUnwindSafe for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnsafeUnpin for Completion
impl UnwindSafe for Completion
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