| 18 | } |
| 19 | |
| 20 | pub trait ShellExt { |
| 21 | fn status<T, U>(&self, status: T, message: U) |
| 22 | where |
| 23 | T: Display, |
| 24 | U: Display; |
| 25 | fn status_with_color<T, U>(&self, status: T, message: U, color: &style::Style) |
| 26 | where |
| 27 | T: Display, |
| 28 | U: Display; |
| 29 | fn note<T: Display>(&self, message: T); |
| 30 | fn warn<T: Display>(&self, message: T); |
| 31 | fn error<T: Display>(&self, message: T); |
| 32 | } |
| 33 | |
| 34 | impl ShellExt for OnceLock<Arc<Mutex<Shell>>> { |
| 35 | fn status<T, U>(&self, status: T, message: U) |
nothing calls this directly
no outgoing calls
no test coverage detected