zng_ext_fs_watcher

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

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§