pub struct Provisioner { /* private fields */ }Expand description
The provisioner’s side of one provisioning.
Implementations§
Source§impl Provisioner
impl Provisioner
Sourcepub fn start(
attention_secs: u8,
auth: Auth,
data: ProvisioningData,
) -> (Self, Vec<u8>)
pub fn start( attention_secs: u8, auth: Auth, data: ProvisioningData, ) -> (Self, Vec<u8>)
Starts: returns the provisioner and the Invite to send.
Sourcepub fn capabilities(&self) -> Option<Capabilities>
pub fn capabilities(&self) -> Option<Capabilities>
The device’s capabilities, once known.
Auto Trait Implementations§
impl Forget for Provisioner
impl Freeze for Provisioner
impl Move for Provisioner
impl RefUnwindSafe for Provisioner
impl Send for Provisioner
impl Sync for Provisioner
impl Unpin for Provisioner
impl UnsafeUnpin for Provisioner
impl UnwindSafe for Provisioner
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