pub enum RebootType {
System,
Bootloader,
Recovery,
Sideload,
SideloadAutoReboot,
}Expand description
Type of reboot needed.
Variants§
System
“Classic” device reboot
Bootloader
Reboots to bootloader
Recovery
Reboots to recovery
Sideload
Reboots into recovery and automatically starts sideload mode
SideloadAutoReboot
Same as Sideload but reboots after sideloading
Trait Implementations§
Source§impl Debug for RebootType
impl Debug for RebootType
Auto Trait Implementations§
impl Freeze for RebootType
impl RefUnwindSafe for RebootType
impl Send for RebootType
impl Sync for RebootType
impl Unpin for RebootType
impl UnwindSafe for RebootType
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more