Enum notify_rust::Timeout [] [src]

pub enum Timeout {
    Default,
    Never,
    Milliseconds(u32),
}

Describes the timeout of a notification

Variants

Expires according to server default.

Whatever that might be...

Do not expire, user will have to close this manually.

Expire after n milliseconds.

Trait Implementations

impl Debug for Timeout
[src]

Formats the value using the given formatter.

impl Copy for Timeout
[src]

impl Clone for Timeout
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Timeout
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Timeout
[src]

impl From<i32> for Timeout
[src]

Performs the conversion.

impl Into<i32> for Timeout
[src]

Performs the conversion.

impl<'a> FromMessageItem<'a> for Timeout
[src]

Allows converting from a MessageItem into the type it contains.