pub struct ProxyConfig { /* private fields */ }Implementations§
Source§impl ProxyConfig
impl ProxyConfig
pub fn ip_v6(&self) -> bool
pub fn server_port(&self) -> u16
pub fn worker_thread_number(&self) -> usize
pub fn log_dir(&self) -> &PathBuf
pub fn log_name_prefix(&self) -> &str
pub fn max_log_level(&self) -> &str
pub fn user_dir(&self) -> &Path
pub fn destination_connect_timeout(&self) -> u64
pub fn agent_frame_buffer_size(&self) -> usize
pub fn proxy_to_destination_data_relay_buffer_size(&self) -> usize
pub fn destination_to_proxy_data_relay_buffer_size(&self) -> usize
pub fn forward(&self) -> &Option<ForwardConfig>
pub fn user_info_repository_refresh_interval(&self) -> u64
Trait Implementations§
Source§impl Debug for ProxyConfig
impl Debug for ProxyConfig
Source§impl<'de> Deserialize<'de> for ProxyConfig
impl<'de> Deserialize<'de> for ProxyConfig
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 RetrieveServerConfig for ProxyConfig
impl RetrieveServerConfig for ProxyConfig
Auto Trait Implementations§
impl Freeze for ProxyConfig
impl RefUnwindSafe for ProxyConfig
impl Send for ProxyConfig
impl Sync for ProxyConfig
impl Unpin for ProxyConfig
impl UnwindSafe for ProxyConfig
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