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

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.

Object Safety§

This trait is not object safe.

Implementors§