pub struct NodeConfig {
pub debug: bool,
pub max_agents: Option<usize>,
pub enable_message_logging: bool,
pub log_message_content: bool,
pub processor_pool: Option<ProcessorPoolConfig>,
pub event_logger: Option<EventLoggerConfig>,
}Expand description
Configuration for a TAP Node
Fields§
§debug: boolDebug mode
max_agents: Option<usize>Maximum number of agents
enable_message_logging: boolWhether to enable message logging
log_message_content: boolWhether to log full message content
processor_pool: Option<ProcessorPoolConfig>Configuration for the processor pool
event_logger: Option<EventLoggerConfig>Configuration for the event logger
Trait Implementations§
Source§impl Clone for NodeConfig
impl Clone for NodeConfig
Source§fn clone(&self) -> NodeConfig
fn clone(&self) -> NodeConfig
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 NodeConfig
impl Debug for NodeConfig
Source§impl Default for NodeConfig
impl Default for NodeConfig
Source§fn default() -> NodeConfig
fn default() -> NodeConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeConfig
impl !RefUnwindSafe for NodeConfig
impl Send for NodeConfig
impl Sync for NodeConfig
impl Unpin for NodeConfig
impl !UnwindSafe for NodeConfig
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