pub enum DestinationGroup {
Loopback,
Private,
LinkLocal,
Metadata,
Multicast,
}Expand description
Pre-defined destination groups.
Variants§
Loopback
Loopback addresses (127.0.0.0/8, ::1).
Private
Private IP ranges (RFC 1918 + RFC 4193 ULA).
LinkLocal
Link-local addresses (169.254.0.0/16, fe80::/10).
Metadata
Cloud metadata endpoints (169.254.169.254).
Multicast
Multicast addresses (224.0.0.0/4, ff00::/8).
Trait Implementations§
Source§impl Clone for DestinationGroup
impl Clone for DestinationGroup
Source§fn clone(&self) -> DestinationGroup
fn clone(&self) -> DestinationGroup
Returns a duplicate 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 DestinationGroup
impl Debug for DestinationGroup
Source§impl<'de> Deserialize<'de> for DestinationGroup
impl<'de> Deserialize<'de> for DestinationGroup
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 DestinationGroup
impl PartialEq for DestinationGroup
Source§impl Serialize for DestinationGroup
impl Serialize for DestinationGroup
impl Copy for DestinationGroup
impl Eq for DestinationGroup
impl StructuralPartialEq for DestinationGroup
Auto Trait Implementations§
impl Freeze for DestinationGroup
impl RefUnwindSafe for DestinationGroup
impl Send for DestinationGroup
impl Sync for DestinationGroup
impl Unpin for DestinationGroup
impl UnsafeUnpin for DestinationGroup
impl UnwindSafe for DestinationGroup
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.