[][src]Trait adventure::retry::Timer

pub trait Timer {
    type Delay: Response<Ok = (), Error = RetryError>;
    fn expires_in(&mut self, interval: Duration) -> Self::Delay;
}

Associated Types

type Delay: Response<Ok = (), Error = RetryError>

Loading content...

Required methods

fn expires_in(&mut self, interval: Duration) -> Self::Delay

Loading content...

Implementors

impl Timer for TokioTimer[src]

type Delay = Delay

Loading content...