pub enum InterfaceAddressFamily {
Ipv4,
Ipv6,
Unknown(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceAddressFamily
impl Clone for InterfaceAddressFamily
Source§impl Debug for InterfaceAddressFamily
impl Debug for InterfaceAddressFamily
Source§impl<'de> Deserialize<'de> for InterfaceAddressFamily
impl<'de> Deserialize<'de> for InterfaceAddressFamily
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InterfaceAddressFamily
Source§impl PartialEq for InterfaceAddressFamily
impl PartialEq for InterfaceAddressFamily
Source§impl Serialize for InterfaceAddressFamily
impl Serialize for InterfaceAddressFamily
impl StructuralPartialEq for InterfaceAddressFamily
Auto Trait Implementations§
impl Freeze for InterfaceAddressFamily
impl RefUnwindSafe for InterfaceAddressFamily
impl Send for InterfaceAddressFamily
impl Sync for InterfaceAddressFamily
impl Unpin for InterfaceAddressFamily
impl UnsafeUnpin for InterfaceAddressFamily
impl UnwindSafe for InterfaceAddressFamily
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