pub enum AclType {
Standard,
Extended,
}Expand description
ACL type controlling which fields are matched.
Variants§
Standard
Standard — matches source IP only.
Extended
Extended — matches source, destination, protocol, and ports.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AclType
impl<'de> Deserialize<'de> for AclType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AclType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AclType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AclType
impl Serialize for AclType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AclType
Auto Trait Implementations§
impl Freeze for AclType
impl RefUnwindSafe for AclType
impl Send for AclType
impl Sync for AclType
impl Unpin for AclType
impl UnsafeUnpin for AclType
impl UnwindSafe for AclType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more