Struct notify_rust::server::NotificationServer [] [src]

pub struct NotificationServer {
    pub counter: Cell<u32>,
    pub stop: Cell<bool>,
}

An experimental notification server. See the module level documentation for more.

Fields

Counter for generating notification ids

A flag that stops the server

Methods

impl NotificationServer
[src]

Create a new NotificationServer instance.

Start listening for incoming notifications

Trait Implementations

impl Debug for NotificationServer
[src]

Formats the value using the given formatter.

impl Default for NotificationServer
[src]

Returns the "default value" for a type. Read more