pub struct EgressConfig {
pub enabled: bool,
pub log_blocked: bool,
pub log_response_bytes: bool,
pub log_hosts_to_tui: bool,
}Expand description
Configuration for egress network event logging.
Fields§
§enabled: boolMaster switch for egress event emission. Default: true.
log_blocked: boolEmit events for requests blocked by SSRF/domain/scheme checks. Default: true.
log_response_bytes: boolInclude response_bytes in the JSONL record. Default: true.
log_hosts_to_tui: boolShow real hostname in TUI egress panel. Default: true.
Trait Implementations§
Source§impl Clone for EgressConfig
impl Clone for EgressConfig
Source§fn clone(&self) -> EgressConfig
fn clone(&self) -> EgressConfig
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 EgressConfig
impl Debug for EgressConfig
Source§impl Default for EgressConfig
impl Default for EgressConfig
Source§fn default() -> EgressConfig
fn default() -> EgressConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EgressConfigwhere
EgressConfig: Default,
impl<'de> Deserialize<'de> for EgressConfigwhere
EgressConfig: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EgressConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EgressConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for EgressConfig
impl Serialize for EgressConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for EgressConfig
impl RefUnwindSafe for EgressConfig
impl Send for EgressConfig
impl Sync for EgressConfig
impl Unpin for EgressConfig
impl UnsafeUnpin for EgressConfig
impl UnwindSafe for EgressConfig
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