pub struct BoundDaemon {
pub listeners: Vec<TcpListener>,
pub local_listener: Option<BoundLocalListener>,
pub local_endpoint_unavailable: Option<String>,
pub local_endpoint: Option<LocalEndpoint>,
pub connection_info: ConnectionInfo,
pub connection_file_path: PathBuf,
pub connection_file_source: ConnectionFileSource,
pub machine_id: Option<MachineId>,
/* private fields */
}Fields§
§listeners: Vec<TcpListener>§local_listener: Option<BoundLocalListener>The same-user local listener, bound and not yet served. None when
binding it failed, in which case local_endpoint is None and
local_endpoint_unavailable says why.
Why the daemon serves no local endpoint, when binding it failed. Reported
by server.describe so an operator can see it.
local_endpoint: Option<LocalEndpoint>What the connection file publishes under local_endpoint, so a client can
find the local listener without knowing how it was bound.
connection_info: ConnectionInfo§connection_file_path: PathBuf§connection_file_source: ConnectionFileSource§machine_id: Option<MachineId>The machine id this daemon serves, established before any connection is
accepted. None when the config named no machine id path.
Trait Implementations§
Auto Trait Implementations§
impl Forget for BoundDaemon
impl Freeze for BoundDaemon
impl RefUnwindSafe for BoundDaemon
impl Send for BoundDaemon
impl Sync for BoundDaemon
impl Unpin for BoundDaemon
impl UnsafeUnpin for BoundDaemon
impl UnwindSafe for BoundDaemon
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