Enum zbus::TcpAddressFamily
source · 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
source§fn eq(&self, other: &TcpAddressFamily) -> bool
fn eq(&self, other: &TcpAddressFamily) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TcpAddressFamily
impl Eq for TcpAddressFamily
impl StructuralPartialEq for TcpAddressFamily
Auto Trait Implementations§
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