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