pub struct Config {Show 15 fields
pub address: String,
pub port: u16,
pub user_agent: String,
pub http_referer: String,
pub x_title: String,
pub mcp_connect_timeout: u64,
pub mcp_call_timeout: u64,
pub mcp_backoff_current_interval: u64,
pub mcp_backoff_initial_interval: u64,
pub mcp_backoff_randomization_factor: f64,
pub mcp_backoff_multiplier: f64,
pub mcp_backoff_max_interval: u64,
pub mcp_backoff_max_elapsed_time: u64,
pub mcp_encryption_key: Option<[u8; 32]>,
pub suppress_output: bool,
}Fields§
§address: String§port: u16§user_agent: String§http_referer: String§x_title: String§mcp_connect_timeout: u64§mcp_call_timeout: u64§mcp_backoff_current_interval: u64§mcp_backoff_initial_interval: u64§mcp_backoff_randomization_factor: f64§mcp_backoff_multiplier: f64§mcp_backoff_max_interval: u64§mcp_backoff_max_elapsed_time: u64§mcp_encryption_key: Option<[u8; 32]>None → caller / proxy will generate one ephemeral key.
suppress_output: boolAuto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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> 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