pub struct CommsRuntimeConfig {
pub mode: CommsRuntimeMode,
pub address: Option<String>,
pub auth: CommsAuthMode,
pub require_peer_auth: bool,
pub event_address: Option<String>,
}Expand description
Runtime comms configuration (portable across interfaces).
Fields§
§mode: CommsRuntimeMode§address: Option<String>Address for agent-to-agent (signed) listener.
auth: CommsAuthMode§require_peer_auth: boolWhether inter-agent peer traffic requires cryptographic validation.
true: messages require signatures and trusted-sender checks.false: signatures are not verified and outgoing peer envelopes are sent without signing.
event_address: Option<String>Address for the plain-text external event listener.
Only active when auth = "none". Accepts newline-delimited JSON or text.
Trait Implementations§
Source§impl Clone for CommsRuntimeConfig
impl Clone for CommsRuntimeConfig
Source§fn clone(&self) -> CommsRuntimeConfig
fn clone(&self) -> CommsRuntimeConfig
Returns a duplicate 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 CommsRuntimeConfig
impl Debug for CommsRuntimeConfig
Source§impl Default for CommsRuntimeConfig
impl Default for CommsRuntimeConfig
Source§impl<'de> Deserialize<'de> for CommsRuntimeConfigwhere
CommsRuntimeConfig: Default,
impl<'de> Deserialize<'de> for CommsRuntimeConfigwhere
CommsRuntimeConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CommsRuntimeConfig
impl PartialEq for CommsRuntimeConfig
Source§impl Serialize for CommsRuntimeConfig
impl Serialize for CommsRuntimeConfig
impl StructuralPartialEq for CommsRuntimeConfig
Auto Trait Implementations§
impl Freeze for CommsRuntimeConfig
impl RefUnwindSafe for CommsRuntimeConfig
impl Send for CommsRuntimeConfig
impl Sync for CommsRuntimeConfig
impl Unpin for CommsRuntimeConfig
impl UnsafeUnpin for CommsRuntimeConfig
impl UnwindSafe for CommsRuntimeConfig
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