pub enum FilterAction {
PreventRestart,
PreventShutdown,
}Expand description
The official RM_FILTER_ACTION behavior.
Variants§
PreventRestart
Permit shutdown but prevent a later restart (RmNoRestart).
PreventShutdown
Prevent both shutdown and restart (RmNoShutdown).
Trait Implementations§
Source§impl Clone for FilterAction
impl Clone for FilterAction
Source§fn clone(&self) -> FilterAction
fn clone(&self) -> FilterAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FilterAction
Source§impl Debug for FilterAction
impl Debug for FilterAction
impl Eq for FilterAction
Source§impl Hash for FilterAction
impl Hash for FilterAction
Source§impl PartialEq for FilterAction
impl PartialEq for FilterAction
impl StructuralPartialEq for FilterAction
Auto Trait Implementations§
impl Freeze for FilterAction
impl RefUnwindSafe for FilterAction
impl Send for FilterAction
impl Sync for FilterAction
impl Unpin for FilterAction
impl UnsafeUnpin for FilterAction
impl UnwindSafe for FilterAction
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