pub trait InputModeProvider:
Debug
+ Send
+ Sync {
// Required methods
fn id(&self) -> &str;
fn version(&self) -> &str;
fn method(&self) -> EvidenceMethod;
fn observe(
&self,
context: &Context,
) -> Result<ProviderTerminalInputModes, String>;
}Expand description
Closed provider family for production terminal parser configuration.
Required Methods§
Sourcefn method(&self) -> EvidenceMethod
fn method(&self) -> EvidenceMethod
How the application obtains parser evidence.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".