Enum shadowsocks_service::acl::Mode
source · [−]pub enum Mode {
BlackList,
WhiteList,
}
Expand description
Strategy mode that ACL is running
Variants
BlackList
BlackList mode, rejects or bypasses all requests by default
WhiteList
WhiteList mode, accepts or proxies all requests by default
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl UnwindSafe for Mode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more