pub struct AgentConfig {Show 14 fields
pub ip_v6: bool,
pub server_port: u16,
pub worker_thread_number: usize,
pub username: String,
pub log_dir: PathBuf,
pub log_name_prefix: String,
pub max_log_level: String,
pub user_dir: PathBuf,
pub agent_to_proxy_data_relay_buffer_size: usize,
pub proxy_to_agent_data_relay_buffer_size: usize,
pub proxy_frame_buffer_size: usize,
pub proxy_connect_timeout: u64,
pub user_info_repository_refresh_interval: u64,
pub connection_pool: Option<ConnectionPoolConfig>,
}Fields§
§ip_v6: bool§server_port: u16§worker_thread_number: usize§username: String§log_dir: PathBuf§log_name_prefix: String§max_log_level: String§user_dir: PathBuf§agent_to_proxy_data_relay_buffer_size: usize§proxy_to_agent_data_relay_buffer_size: usize§proxy_frame_buffer_size: usize§proxy_connect_timeout: u64§user_info_repository_refresh_interval: u64§connection_pool: Option<ConnectionPoolConfig>Trait Implementations§
Source§impl Debug for AgentConfig
impl Debug for AgentConfig
Source§impl<'de> Deserialize<'de> for AgentConfig
impl<'de> Deserialize<'de> for AgentConfig
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 RetrieveConnectionConfig for AgentConfig
impl RetrieveConnectionConfig for AgentConfig
fn frame_size(&self) -> usize
fn connect_timeout(&self) -> u64
Source§impl RetrieveConnectionPoolConfig for AgentConfig
impl RetrieveConnectionPoolConfig for AgentConfig
fn max_pool_size(&self) -> usize
fn fill_interval(&self) -> u64
fn check_interval(&self) -> u64
fn connection_max_alive(&self) -> i64
fn heartbeat_timeout(&self) -> u64
fn retake_interval(&self) -> u64
Source§impl RetrieveServerConfig for AgentConfig
impl RetrieveServerConfig for AgentConfig
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnwindSafe for AgentConfig
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