pub enum ProvisioningMonitorRequest {
WatchProgress {
responder: ProvisioningMonitorWatchProgressResponder,
},
}
Expand description
Reports the progress of a provisioning operation like Join or Form.
If there was a problem with the arguments passed to the originating
function (Join/Form) then the channel will be closed with ZX_ERR_INVALID_ARGS
.
Variants§
WatchProgress
Call this method to receive an update on the provisioning progress.
When first called, this method will return immediately with the current status. On subsequent calls, it will block until the status changes.
If provisioning error is encountered, it is returned as a
ProvisionError
. See the documentation for ProvisionError
details on error handling.
Once the method has either returned an identity or indicated a
ProvisionError
, the ProvisioningMonitor will close with ZX_OK
.
Fields
§
responder: ProvisioningMonitorWatchProgressResponder
Implementations§
Source§impl ProvisioningMonitorRequest
impl ProvisioningMonitorRequest
pub fn into_watch_progress( self, ) -> Option<ProvisioningMonitorWatchProgressResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProvisioningMonitorRequest
impl !RefUnwindSafe for ProvisioningMonitorRequest
impl Send for ProvisioningMonitorRequest
impl Sync for ProvisioningMonitorRequest
impl Unpin for ProvisioningMonitorRequest
impl !UnwindSafe for ProvisioningMonitorRequest
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