Enum pueue_lib::process_helper::ProcessAction
source · pub enum ProcessAction {
Pause,
Resume,
}Expand description
Pueue directly interacts with processes. Since these interactions can vary depending on the current platform, this enum is introduced. The intend is to keep any platform specific code out of the top level code. Even if that implicates adding some layers of abstraction.
Variants§
Trait Implementations§
source§impl Debug for ProcessAction
impl Debug for ProcessAction
source§impl From<&ProcessAction> for Signal
impl From<&ProcessAction> for Signal
source§fn from(action: &ProcessAction) -> Self
fn from(action: &ProcessAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ProcessAction
impl Send for ProcessAction
impl Sync for ProcessAction
impl Unpin for ProcessAction
impl UnwindSafe for ProcessAction
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