pub trait Console {
// Required methods
fn arguments() -> &'static [Argument];
fn open(filename: &str) -> Result<impl Descriptor, Issue>;
fn problem(issue: Issue, chain: &[&'static str]) -> impl Update;
fn print(value: impl Display) -> impl Update;
fn debug(value: impl Debug) -> impl Update;
}Required Methods§
fn arguments() -> &'static [Argument]
fn open(filename: &str) -> Result<impl Descriptor, Issue>
fn problem(issue: Issue, chain: &[&'static str]) -> impl Update
fn print(value: impl Display) -> impl Update
fn debug(value: impl Debug) -> impl Update
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".