Struct kernel::process::ProcessPrinterText
source · [−]pub struct ProcessPrinterText {}
Expand description
A Process Printer that displays a process as a human-readable string.
Implementations
sourceimpl ProcessPrinterText
impl ProcessPrinterText
pub fn new() -> ProcessPrinterText
Trait Implementations
sourceimpl ProcessPrinter for ProcessPrinterText
impl ProcessPrinter for ProcessPrinterText
sourcefn print_overview(
&self,
process: &dyn Process,
writer: &mut dyn BinaryWrite,
context: Option<ProcessPrinterContext>
) -> Option<ProcessPrinterContext>
fn print_overview(
&self,
process: &dyn Process,
writer: &mut dyn BinaryWrite,
context: Option<ProcessPrinterContext>
) -> Option<ProcessPrinterContext>
Print a process overview to the writer
. As print_overview()
uses a
&dyn Process
to access the process, only state which can be accessed
via the Process
trait can be printed. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProcessPrinterText
impl Send for ProcessPrinterText
impl Sync for ProcessPrinterText
impl Unpin for ProcessPrinterText
impl UnwindSafe for ProcessPrinterText
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more