Struct zbus::TcpAddress
source · pub struct TcpAddress { /* private fields */ }Expand description
A tcp: D-Bus address.
Implementations§
source§impl TcpAddress
impl TcpAddress
sourcepub fn family(&self) -> Option<TcpAddressFamily>
pub fn family(&self) -> Option<TcpAddressFamily>
Returns the tcp: address family value.
Trait Implementations§
source§impl Clone for TcpAddress
impl Clone for TcpAddress
source§fn clone(&self) -> TcpAddress
fn clone(&self) -> TcpAddress
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 TcpAddress
impl Debug for TcpAddress
source§impl PartialEq<TcpAddress> for TcpAddress
impl PartialEq<TcpAddress> for TcpAddress
source§fn eq(&self, other: &TcpAddress) -> bool
fn eq(&self, other: &TcpAddress) -> bool
This method tests for
self and other values to be equal, and is used
by ==.