Skip to main content

Watching

Trait Watching 

Source
pub(super) trait Watching: Send {
    // Required method
    fn seen(&self) -> Option<bool>;
}
Expand description

The session’s own do-not-disturb, followed.

Required Methods§

Source

fn seen(&self) -> Option<bool>

What was last read: on, off; none before it could be.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Watching for Watch

Available on Unix and neither Android nor macOS only.
Source§

fn seen(&self) -> Option<bool>

Implementors§

Source§

impl Watching for GnomeWatch

Available on Unix and neither Android nor macOS only.