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>,
pub storage_path: Option<PathBuf>,
pub agent_did: Option<String>,
pub tap_root: Option<PathBuf>,
}
Expand description
Configuration for a TAP Node
Fields§
§debug: bool
Debug mode
max_agents: Option<usize>
Maximum number of agents
enable_message_logging: bool
Whether to enable message logging
log_message_content: bool
Whether to log full message content
processor_pool: Option<ProcessorPoolConfig>
Configuration for the processor pool
event_logger: Option<EventLoggerConfig>
Configuration for the event logger
storage_path: Option<PathBuf>
Path to the storage database (None for default)
agent_did: Option<String>
Agent DID for storage organization
tap_root: Option<PathBuf>
Custom TAP root directory (defaults to ~/.tap)
Trait Implementations§
Source§impl Clone for NodeConfig
impl Clone for NodeConfig
Source§fn clone(&self) -> NodeConfig
fn clone(&self) -> NodeConfig
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more