[][src]Function awak::time::timeout::timeout

pub fn timeout<T>(duration: Duration, future: T) -> Timeout<T>

Notable traits for Timeout<T>

impl<T> Future for Timeout<T> where
    T: Future
type Output = Result<T::Output, Elapsed>;
where
    T: Future