pub struct Config {
pub first_rtt_time_factor: u16,
pub https_timeout_sec: u8,
pub max_attempts_urgency_high: u32,
pub max_attempts_urgency_low: u32,
pub max_attempts_urgency_medium: u32,
pub num_polls_urgency_high: u32,
pub num_polls_urgency_low: u32,
pub num_polls_urgency_medium: u32,
pub standard_deviation_bound_percentage: u8,
pub time_source_endpoint_url: String,
pub use_pull_api: bool,
}
Fields§
§first_rtt_time_factor: u16
§https_timeout_sec: u8
§max_attempts_urgency_high: u32
§max_attempts_urgency_low: u32
§max_attempts_urgency_medium: u32
§num_polls_urgency_high: u32
§num_polls_urgency_low: u32
§num_polls_urgency_medium: u32
§standard_deviation_bound_percentage: u8
§time_source_endpoint_url: String
§use_pull_api: bool
Implementations§
Source§impl Config
impl Config
pub fn take_from_startup_handle() -> Self
pub fn record_inspect(&self, inspector_node: &Node)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin 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