pub enum UpdaterRequest {
Update {
manifest_url: String,
responder: UpdaterUpdateResponder,
},
}
Expand description
Provides a mechanism for adb sideload to provide the update url to recovery-android.
Variants§
Update
Applies an update from the given manifest URL.
Triggers an update and returns only after the update attempt has finished, either by succeeding, failing, or being cancelled.
Implementations§
Source§impl UpdaterRequest
impl UpdaterRequest
pub fn into_update(self) -> Option<(String, UpdaterUpdateResponder)>
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 UpdaterRequest
impl !RefUnwindSafe for UpdaterRequest
impl Send for UpdaterRequest
impl Sync for UpdaterRequest
impl Unpin for UpdaterRequest
impl !UnwindSafe for UpdaterRequest
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