pub trait WatcherReadStatus<ER = Error>: VarValue + PartialEq {
// Required methods
fn idle() -> Self;
fn reading() -> Self;
fn read_error(e: ER) -> Self;
}
Expand description
Represents a status type for WATCHER
read-only operations.
Required Methods§
Sourcefn read_error(e: ER) -> Self
fn read_error(e: ER) -> Self
New read error value.
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.