pub struct InstanceConfig {Show 24 fields
pub link: LinkName,
pub secret: Secret,
pub ipif: String,
pub max_batch_down: u32,
pub max_queue_time: Duration,
pub http_timeout: Duration,
pub target_requests_outstanding: u32,
pub max_batch_up: u32,
pub addrs: Vec<IpAddr>,
pub vnetwork: Vec<IpNet>,
pub vaddr: IpAddr,
pub vrelay: IpAddr,
pub port: u16,
pub mtu: u32,
pub max_clock_skew: Duration,
pub ifname_server: String,
pub http_timeout_grace: Duration,
pub max_requests_outstanding: u32,
pub http_retry: Duration,
pub success_report_interval: Duration,
pub url: Url,
pub vroutes: Vec<IpNet>,
pub ifname_client: String,
pub effective_http_timeout: Duration,
}Fields§
§link: LinkName§secret: Secret§ipif: String§max_batch_down: u32§max_queue_time: Duration§http_timeout: Duration§target_requests_outstanding: u32§max_batch_up: u32§addrs: Vec<IpAddr>§vnetwork: Vec<IpNet>§vaddr: IpAddr§vrelay: IpAddr§port: u16§mtu: u32§max_clock_skew: Duration§ifname_server: String§http_timeout_grace: Duration§max_requests_outstanding: u32§http_retry: Duration§success_report_interval: Duration§url: Url§vroutes: Vec<IpNet>§ifname_client: String§effective_http_timeout: DurationTrait Implementations§
Source§impl Clone for InstanceConfig
impl Clone for InstanceConfig
Source§impl Debug for InstanceConfig
impl Debug for InstanceConfig
Source§impl Display for InstanceConfig
impl Display for InstanceConfig
Source§impl InspectableConfig for InstanceConfig
impl InspectableConfig for InstanceConfig
fn inspect_key(&self, field: &str) -> Option<&dyn InspectableConfigValue>
Source§impl InspectableConfigAuto for InstanceConfig
impl InspectableConfigAuto for InstanceConfig
fn inspect_key_auto(&self, field: &str) -> Option<&dyn InspectableConfigValue>
Auto Trait Implementations§
impl Freeze for InstanceConfig
impl RefUnwindSafe for InstanceConfig
impl Send for InstanceConfig
impl Sync for InstanceConfig
impl Unpin for InstanceConfig
impl UnsafeUnpin for InstanceConfig
impl UnwindSafe for InstanceConfig
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