Struct syncbox::Delay [] [src]

pub struct Delay<T>(pub T, pub Duration);

Associate a delay with a value

Methods

impl<T> Delay<T>
[src]

Trait Implementations

impl<T: Eq> Eq for Delay<T>
[src]

impl<T: PartialEq> PartialEq for Delay<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Ord> Ord for Delay<T>
[src]

This method returns an Ordering between self and other. Read more

impl<T: PartialOrd> PartialOrd for Delay<T>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: Debug> Debug for Delay<T>
[src]

Formats the value using the given formatter.

impl<T> Delayed for Delay<T>
[src]

impl<T> Deref for Delay<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for Delay<T>
[src]

The method called to mutably dereference a value