pub trait Watcher<'ctx, O: ?Sized = DefaultOwner> {
// Required method
fn init(init: impl WatcherInit<'ctx, Self, O>);
// Provided method
fn debug_name() -> &'static str { ... }
}Required Methods§
fn init(init: impl WatcherInit<'ctx, Self, O>)
Provided Methods§
fn debug_name() -> &'static str
👎Deprecated
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.