[][src]Enum notify_rust::Timeout

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

Describes the timeout of a notification

Variants

Default

Expires according to server default.

Whatever that might be...

Never

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

Milliseconds(u32)

Expire after n milliseconds.

Trait Implementations

impl Into<i32> for Timeout[src]

impl From<i32> for Timeout[src]

impl Clone for Timeout[src]

impl Copy for Timeout[src]

impl Default for Timeout[src]

impl Eq for Timeout[src]

impl PartialEq<Timeout> for Timeout[src]

impl Debug for Timeout[src]

impl StructuralPartialEq for Timeout[src]

impl StructuralEq for Timeout[src]

Auto Trait Implementations

impl Send for Timeout

impl Sync for Timeout

impl Unpin for Timeout

impl UnwindSafe for Timeout

impl RefUnwindSafe for Timeout

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]