pub enum ListenerRequest {
WaitForFirstUpdateCheckToComplete {
responder: ListenerWaitForFirstUpdateCheckToCompleteResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: ListenerControlHandle,
method_type: MethodType,
},
}
Expand description
Used by components to wait for the first software update check to complete.
Variants§
WaitForFirstUpdateCheckToComplete
This is a hanging get. It may be called at any time. It will only return if the software update checker has completed its post-boot check (with or without error) and is not trying to reboot.
Fields
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: ListenerControlHandle
§
method_type: MethodType
Implementations§
Source§impl ListenerRequest
impl ListenerRequest
pub fn into_wait_for_first_update_check_to_complete( self, ) -> Option<ListenerWaitForFirstUpdateCheckToCompleteResponder>
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 ListenerRequest
impl !RefUnwindSafe for ListenerRequest
impl Send for ListenerRequest
impl Sync for ListenerRequest
impl Unpin for ListenerRequest
impl !UnwindSafe for ListenerRequest
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