pub enum Step {
Send(Vec<Vec<u8>>),
Show(u32),
Done {
device_key: Key,
data: Option<ProvisioningData>,
},
Failed {
code: u8,
send: Option<Vec<u8>>,
},
}Expand description
What a step produced.
Variants§
Send(Vec<Vec<u8>>)
Send these PDUs, in order (none: just wait), then wait for the next.
Show(u32)
Show this number to the person (Input OOB on the provisioner; Output OOB on the device).
Done
Done on our side: the device key, and (on the device) what it joined.
Fields
§
data: Option<ProvisioningData>On the device: the network it was given.
Failed
The other side failed it, or we did (send the Failed PDU given).
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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