zng_ext_fs_watcher

Trait 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§

Source

fn idle() -> Self

New idle value.

Source

fn reading() -> Self

New reading value.

Source

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.

Implementors§