Trait zng::fs_watcher::WatcherSyncStatus

source ·
pub trait WatcherSyncStatus<ER = Error, EW = Error>: WatcherReadStatus<ER> {
    // Required methods
    fn writing() -> Self;
    fn write_error(e: EW) -> Self;
}
Expand description

Represents a status type for WATCHER.sync_status.

Required Methods§

source

fn writing() -> Self

New writing value.

source

fn write_error(e: EW) -> Self

New write error value.

Object Safety§

This trait is not object safe.

Implementors§