Struct syncbox::Delay
[−]
[src]
pub struct Delay<T>(pub T, pub Duration);
Associate a delay with a value
pub struct Delay<T>(pub T, pub Duration);
Associate a delay with a value
impl<T> Delay<T>
fn unwrap(self) -> T
impl<T> Delayed for Delay<T>
impl<T> Deref for Delay<T>
type Target = T
fn deref(&self) -> &T
impl<T> DerefMut for Delay<T>
fn deref_mut(&mut self) -> &mut T
impl<T: Debug> Debug for Delay<T>
impl<T: PartialOrd> PartialOrd for Delay<T>
fn partial_cmp(&self, __arg_0: &Delay<T>) -> Option<Ordering>
fn lt(&self, __arg_0: &Delay<T>) -> bool
fn le(&self, __arg_0: &Delay<T>) -> bool
fn gt(&self, __arg_0: &Delay<T>) -> bool
fn ge(&self, __arg_0: &Delay<T>) -> bool
impl<T: Ord> Ord for Delay<T>
impl<T: PartialEq> PartialEq for Delay<T>
impl<T: Eq> Eq for Delay<T>