#[non_exhaustive]pub enum Step<'a> {
Invoke {
endpoint: EndpointId,
cluster: ClusterId,
command: CommandId,
fields: &'a [u8],
},
Operational {
node_id: NodeId,
},
Done,
}Available on crate feature
rustcrypto only.Expand description
What the caller should do next.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Invoke
Invoke this command and feed the response back to
Commissioner::on_response.
Fields
§
endpoint: EndpointIdThe endpoint — always ROOT_ENDPOINT for the commissioning clusters.
Operational
The PASE phase is finished. Configure the operational network if the device needs it,
discover the node, and establish CASE — then call Commissioner::on_operational.
§5.5’s setup phase exists as a separate phase precisely because the device may reboot onto a different network in between, and the commissioner has to find it again.
Fields
Done
Commissioning succeeded.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Step<'a>
impl<'a> Freeze for Step<'a>
impl<'a> Move for Step<'a>
impl<'a> RefUnwindSafe for Step<'a>
impl<'a> Send for Step<'a>
impl<'a> Sync for Step<'a>
impl<'a> Unpin for Step<'a>
impl<'a> UnsafeUnpin for Step<'a>
impl<'a> UnwindSafe for Step<'a>
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