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§
sourcefn write_error(e: EW) -> Self
fn write_error(e: EW) -> Self
New write error value.
Object Safety§
This trait is not object safe.