pub struct NonceTcp {
pub host: Option<String>,
pub bind: Option<String>,
pub port: Option<u16>,
pub family: Option<Family>,
pub noncefile: Option<String>,
pub guid: Option<[u8; 16]>,
}
Expand description
This represents a DBus server address with the prefix nonce-tcp:
.
Fields§
§host: Option<String>
DNS name or IP address.
bind: Option<String>
The interface on which the server will listen to.
port: Option<u16>
The TCP port the server will open or the client will connect to.
family: Option<Family>
The type of socket family.
noncefile: Option<String>
File location containing the secret.
guid: Option<[u8; 16]>
The GUID of the Address.
Implementations§
Source§impl NonceTcp
impl NonceTcp
pub fn is_connectable(&self) -> bool
pub fn is_listenable(&self) -> bool
Trait Implementations§
impl Eq for NonceTcp
impl StructuralPartialEq for NonceTcp
Auto Trait Implementations§
impl Freeze for NonceTcp
impl RefUnwindSafe for NonceTcp
impl Send for NonceTcp
impl Sync for NonceTcp
impl Unpin for NonceTcp
impl UnwindSafe for NonceTcp
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