Enum kvarn::limiting::Action

source ·
pub enum Action {
    Passed,
    Send,
    Drop,
}
Expand description

The strength of limiting.

Variants§

§

Passed

Request should continue as normal.

§

Send

Send a get_too_many_requests response.

§

Drop

Drop the connection immediately.

Trait Implementations§

source§

impl Clone for Action

source§

fn clone(&self) -> Action

Returns a copy of the value. Read more
1.0.0 · source§

fn