pub enum TcpAddressFamily {
Ipv4,
Ipv6,
}
Expand description
A tcp:
address family.
Variants§
Trait Implementations§
source§impl Clone for TcpAddressFamily
impl Clone for TcpAddressFamily
source§fn clone(&self) -> TcpAddressFamily
fn clone(&self) -> TcpAddressFamily
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 TcpAddressFamily
impl Debug for TcpAddressFamily
source§impl Display for TcpAddressFamily
impl Display for TcpAddressFamily
source§impl FromStr for TcpAddressFamily
impl FromStr for TcpAddressFamily
source§impl PartialEq for TcpAddressFamily
impl PartialEq for TcpAddressFamily
impl Copy for TcpAddressFamily
impl Eq for TcpAddressFamily
impl StructuralPartialEq for TcpAddressFamily
Auto Trait Implementations§
impl Freeze for TcpAddressFamily
impl RefUnwindSafe for TcpAddressFamily
impl Send for TcpAddressFamily
impl Sync for TcpAddressFamily
impl Unpin for TcpAddressFamily
impl UnwindSafe for TcpAddressFamily
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)