Enum humphrey_server::config::BlacklistMode [−][src]
pub enum BlacklistMode {
Block,
Forbidden,
}
Expand description
Represents a method of applying the blacklist.
Variants
Does not allow any access from blacklisted addresses
Returns 400 Forbidden to every request, only available in static mode
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlacklistMode
impl Send for BlacklistMode
impl Sync for BlacklistMode
impl Unpin for BlacklistMode
impl UnwindSafe for BlacklistMode
Blanket Implementations
Mutably borrows from an owned value. Read more