pub enum Behavior {
Success,
Error,
ScheduleReboot,
ForceReboot,
}
Expand description
Behavior for an exit code.
Variants§
Success
Interpret exit code as success.
Error
Interpret exit code as error.
ScheduleReboot
Schedule reboot.
ForceReboot
Force an immediate reboot.
Trait Implementations§
impl Copy for Behavior
Auto Trait Implementations§
impl Freeze for Behavior
impl RefUnwindSafe for Behavior
impl Send for Behavior
impl Sync for Behavior
impl Unpin for Behavior
impl UnwindSafe for Behavior
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