Struct linux_taskstats::format::Printer
source · pub struct Printer<H: HeaderFormat> { /* private fields */ }
Implementations
sourceimpl<H: HeaderFormat> Printer<H>
impl<H: HeaderFormat> Printer<H>
pub fn new(header_format: H) -> Self
pub fn print_summary_lines<W: Write>(
&self,
out: &mut W,
stats: &[TaskStats]
) -> Result<()>
pub fn print_delay_lines<W: Write>(
&self,
out: &mut W,
stats: &[TaskStats]
) -> Result<()>
pub fn print_full<W: Write>(&self, out: &mut W, stats: &[TaskStats]) -> Result<()>
Auto Trait Implementations
impl<H> RefUnwindSafe for Printer<H>where
H: RefUnwindSafe,
impl<H> Send for Printer<H>where
H: Send,
impl<H> Sync for Printer<H>where
H: Sync,
impl<H> Unpin for Printer<H>where
H: Unpin,
impl<H> UnwindSafe for Printer<H>where
H: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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