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