Trait zng::fs_watcher::WatcherReadStatus
source · 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.
Object Safety§
This trait is not object safe.