Enum notify_rust::Timeout
[−]
[src]
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 Debug for Timeout
[src]
impl Copy for Timeout
[src]
impl Clone for Timeout
[src]
fn clone(&self) -> Timeout
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Timeout
[src]
fn eq(&self, __arg_0: &Timeout) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Timeout) -> bool
This method tests for !=
.