Enum notify_rust::Timeout
[−]
[src]
pub enum Timeout {
Default,
Never,
Milliseconds(u32),
}Describes the timeout of a notification
Variants
DefaultExpires according to server default.
Whatever that might be...
NeverDo 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 !=.
impl Eq for Timeout[src]
impl From<i32> for Timeout[src]
impl Into<i32> for Timeout[src]
impl<'a> FromMessageItem<'a> for Timeout[src]
fn from(i: &'a MessageItem) -> Result<Timeout, ()>
Allows converting from a MessageItem into the type it contains.