Enum notify_rust::Timeout [−][src]
pub enum Timeout { Default, Never, Milliseconds(u32), }
Expand description
Describes the timeout of a notification
Variants
Expand description
Expires according to server default.
Whatever that might be…
Expand description
Do not expire, user will have to close this manually.
Milliseconds(u32)
Expand description
Expire after n milliseconds.
Trait Implementations
impl Copy for Timeout
[src]
impl Eq for Timeout
[src]
impl StructuralEq for Timeout
[src]
impl StructuralPartialEq for Timeout
[src]
Auto Trait Implementations
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnwindSafe for Timeout
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more