pub enum RestoreIntent {
Preserve,
EnsureRunning,
EnsureStopped,
}Expand description
Desired post-update restoration.
Variants§
Preserve
Return to the observed running/stopped state.
EnsureRunning
Ensure running (explicit caller policy; overrides stopped-stays-stopped).
EnsureStopped
Ensure stopped.
Trait Implementations§
Source§impl Clone for RestoreIntent
impl Clone for RestoreIntent
impl Copy for RestoreIntent
Source§impl Debug for RestoreIntent
impl Debug for RestoreIntent
impl Eq for RestoreIntent
Source§impl PartialEq for RestoreIntent
impl PartialEq for RestoreIntent
impl StructuralPartialEq for RestoreIntent
Auto Trait Implementations§
impl Freeze for RestoreIntent
impl RefUnwindSafe for RestoreIntent
impl Send for RestoreIntent
impl Sync for RestoreIntent
impl Unpin for RestoreIntent
impl UnsafeUnpin for RestoreIntent
impl UnwindSafe for RestoreIntent
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