pub struct ResolvedCommsConfig {Show 15 fields
pub enabled: bool,
pub name: String,
pub inproc_namespace: Option<String>,
pub listen_uds: Option<PathBuf>,
pub listen_tcp: Option<SocketAddr>,
pub advertise_address: Option<String>,
pub event_listen_tcp: Option<SocketAddr>,
pub event_listen_uds: Option<PathBuf>,
pub identity_dir: PathBuf,
pub trusted_peers_path: PathBuf,
pub comms_config: CommsConfig,
pub auth: CommsAuthMode,
pub require_peer_auth: bool,
pub allow_external_unauthenticated: bool,
pub pairing_password: Option<String>,
}Expand description
Resolved comms configuration with absolute paths.
Fields§
§enabled: bool§name: String§inproc_namespace: Option<String>§listen_uds: Option<PathBuf>Address for signed (Ed25519) agent-to-agent listener.
listen_tcp: Option<SocketAddr>Address for signed (Ed25519) agent-to-agent listener.
advertise_address: Option<String>Runtime peer address advertised to other signed-comms participants.
event_listen_tcp: Option<SocketAddr>Address for plain-text external event listener.
event_listen_uds: Option<PathBuf>Path for plain-text external event listener (UDS).
identity_dir: PathBuf§trusted_peers_path: PathBuf§comms_config: CommsConfig§auth: CommsAuthMode§require_peer_auth: bool§allow_external_unauthenticated: bool§pairing_password: Option<String>Trait Implementations§
Source§impl Clone for ResolvedCommsConfig
impl Clone for ResolvedCommsConfig
Source§fn clone(&self) -> ResolvedCommsConfig
fn clone(&self) -> ResolvedCommsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolvedCommsConfig
impl Debug for ResolvedCommsConfig
Source§impl PartialEq for ResolvedCommsConfig
impl PartialEq for ResolvedCommsConfig
Source§fn eq(&self, other: &ResolvedCommsConfig) -> bool
fn eq(&self, other: &ResolvedCommsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedCommsConfig
Auto Trait Implementations§
impl Freeze for ResolvedCommsConfig
impl RefUnwindSafe for ResolvedCommsConfig
impl Send for ResolvedCommsConfig
impl Sync for ResolvedCommsConfig
impl Unpin for ResolvedCommsConfig
impl UnsafeUnpin for ResolvedCommsConfig
impl UnwindSafe for ResolvedCommsConfig
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