Watcher

Trait Watcher 

Source
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§

Source

fn init(init: impl WatcherInit<'ctx, Self, O>)

Provided Methods§

Source

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.

Implementors§