fn clear_later(&mut self, account_id: Uuid, channel_last_fail: Arc<Mutex<Instant>>) {
        match *self {
            Policy::ThresholdOnly => (),
            Policy::TimeBased(ref mut sender) => Policy::drop_error(
                sender.try_send(ManageTimeout::Clear(account_id)),
                channel_last_fail,
            ),
        }
    }
/// Called to clear a pending timeout, if there's any
Called to clear a pending timeout, if there's any
Called to clear a pending timeout if there ' s any
fn clear_later(&mut self, account_id: Uuid, channel_last_fail: Arc<Mutex<Instant>>) {
        match *self {
            Policy::ThresholdOnly => (),
            Policy::TimeBased(ref mut sender) => Policy::drop_error(
                sender.try_send(ManageTimeout::Clear(account_id)),
                channel_last_fail,
            ),
        }
    }
fn clear_later ( & mut self , account_id : Uuid , channel_last_fail : Arc < Mutex < Instant > > ) { match * self { Policy :: ThresholdOnly => ( ) , Policy :: TimeBased ( ref mut sender ) => Policy :: drop_error ( sender . try_send ( ManageTimeout :: Clear ( account_id ) ) , channel_last_fail , ) , } }
Called to clear a pending timeout, if there's any
Called to clear a pending timeout if there ' s any
&mut self
account_id
Uuid
channel_last_fail
Arc<Mutex<Instant>>
&mut self
account_id
Uuid
channel_last_fail
Arc<Mutex<Instant>>