pub trait CommandOutput {
type R;
// Required method
fn result(output: &Output) -> Result<Self::R>;
}Expand description
Parse and decode the output of Kitty’s remote commands.
For some commands the output, CommandOutput::R is just (), for some commands it’s actual data
like OsWindows for the Ls command.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.