pub enum AttemptsMonitorRequest {
OnStart {
options: AttemptOptions,
monitor: ServerEnd<MonitorMarker>,
responder: AttemptsMonitorOnStartResponder,
},
}
Expand description
Monitors update attempts as they start.
Clients interested in receiving progress information for an update check
should implement this protocol and provide the client end to
[Manager.MonitorAllUpdateChecks
].
The Manager will close the client end of the AttemptsMonitor if there are
more than 2 outstanding requests.
Variants§
OnStart
Called when a new update attempt has started.
Arguments:
- |options| Options for how this request should be performed.
- |monitor| A protocol on which to receive progress updates.
Fields
§
options: AttemptOptions
§
monitor: ServerEnd<MonitorMarker>
§
responder: AttemptsMonitorOnStartResponder
Implementations§
Source§impl AttemptsMonitorRequest
impl AttemptsMonitorRequest
pub fn into_on_start( self, ) -> Option<(AttemptOptions, ServerEnd<MonitorMarker>, AttemptsMonitorOnStartResponder)>
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 AttemptsMonitorRequest
impl !RefUnwindSafe for AttemptsMonitorRequest
impl Send for AttemptsMonitorRequest
impl Sync for AttemptsMonitorRequest
impl Unpin for AttemptsMonitorRequest
impl !UnwindSafe for AttemptsMonitorRequest
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