#[non_exhaustive]pub struct ConfigPollerConfig {
pub poll_interval: Duration,
pub fetch_timeout: Duration,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.poll_interval: Duration§fetch_timeout: DurationImplementations§
Source§impl ConfigPollerConfig
impl ConfigPollerConfig
pub fn new() -> Self
pub fn poll_interval(self, poll_interval: Duration) -> Self
pub fn fetch_timeout(self, fetch_timeout: Duration) -> Self
Trait Implementations§
Source§impl Clone for ConfigPollerConfig
impl Clone for ConfigPollerConfig
Source§fn clone(&self) -> ConfigPollerConfig
fn clone(&self) -> ConfigPollerConfig
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 ConfigPollerConfig
impl Debug for ConfigPollerConfig
Source§impl Default for ConfigPollerConfig
impl Default for ConfigPollerConfig
Source§impl Display for ConfigPollerConfig
impl Display for ConfigPollerConfig
Source§impl PartialEq for ConfigPollerConfig
impl PartialEq for ConfigPollerConfig
impl StructuralPartialEq for ConfigPollerConfig
Auto Trait Implementations§
impl Freeze for ConfigPollerConfig
impl RefUnwindSafe for ConfigPollerConfig
impl Send for ConfigPollerConfig
impl Sync for ConfigPollerConfig
impl Unpin for ConfigPollerConfig
impl UnsafeUnpin for ConfigPollerConfig
impl UnwindSafe for ConfigPollerConfig
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.