#[non_exhaustive]pub enum IpBlockType {
Inet4,
Inet6,
}
Available on crate feature
http-support
only.Expand description
The IP version in use by the block.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for IpBlockType
impl Clone for IpBlockType
Source§fn clone(&self) -> IpBlockType
fn clone(&self) -> IpBlockType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IpBlockType
impl Debug for IpBlockType
Source§impl<'de> Deserialize<'de> for IpBlockType
impl<'de> Deserialize<'de> for IpBlockType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IpBlockType
impl PartialEq for IpBlockType
Source§impl Serialize for IpBlockType
impl Serialize for IpBlockType
impl Eq for IpBlockType
impl StructuralPartialEq for IpBlockType
Auto Trait Implementations§
impl Freeze for IpBlockType
impl RefUnwindSafe for IpBlockType
impl Send for IpBlockType
impl Sync for IpBlockType
impl Unpin for IpBlockType
impl UnwindSafe for IpBlockType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more