Coverage Report

Created: 2026-02-14 06:45

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/rust/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/process/kill.rs
Line
Count
Source
1
use std::io;
2
3
/// An interface for killing a running process.
4
pub(crate) trait Kill {
5
    /// Forcefully kills the process.
6
    fn kill(&mut self) -> io::Result<()>;
7
}
8
9
impl<T: Kill> Kill for &mut T {
10
0
    fn kill(&mut self) -> io::Result<()> {
11
0
        (**self).kill()
12
0
    }
13
}