MCPcopy Create free account
hub / github.com/LukeMathWalker/pavex / ShellExt

Interface ShellExt

compiler/pavex_cli_shell/src/lib.rs:20–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20pub 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
34impl ShellExt for OnceLock<Arc<Mutex<Shell>>> {
35 fn status<T, U>(&self, status: T, message: U)

Callers

nothing calls this directly

Implementers 1

lib.rscompiler/pavex_cli_shell/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected