1 2 3 4 5 6 7
/// Discards updates when the rate limit is reached. #[derive(Clone, Copy, Debug)] pub struct MethodDiscard; /// Allows update to pass as soon as the rate limiter allows it. #[derive(Clone, Copy, Debug)] pub struct MethodWait;