pub trait ModeInput {
// Required method
fn env(&self, name: &str) -> Option<String>;
// Provided method
fn per_user_default(&self) -> Result<Suite, SuiteError> { ... }
}Expand description
Where decide reads from. The default implementation of the provided methods is the real
operating system. A test supplies a fake, including one that panics on any read.
Required Methods§
Provided Methods§
Sourcefn per_user_default(&self) -> Result<Suite, SuiteError>
fn per_user_default(&self) -> Result<Suite, SuiteError>
The real per-user suite root, from the account database.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".