pub enum PsFormat {
Table,
Json,
Template(String),
Raw,
}
Expand description
Output format for ps command
Variants§
Table
Default table format
Json
JSON format
Template(String)
Custom Go template
Raw
Raw output (when using quiet mode)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PsFormat
impl RefUnwindSafe for PsFormat
impl Send for PsFormat
impl Sync for PsFormat
impl Unpin for PsFormat
impl UnwindSafe for PsFormat
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