pub(crate) struct Tier1Config {
pub(crate) pistar: u64,
pub(crate) xlx_api: u64,
pub(crate) ircddb: u64,
}Expand description
Tier 1: discovery sweep configuration.
Controls how often each external data source is polled to build the reflector registry.
Fields§
§pistar: u64Poll interval for Pi-Star host files, in seconds.
The Pi-Star host file changes rarely; daily polling is sufficient.
Default: 86400 (24 hours)
xlx_api: u64Poll interval for XLX API reflector-list, in seconds.
Default: 600 (10 minutes)
ircddb: u64Poll interval for ircDDB last-heard page scrapes, in seconds.
Default: 60 (1 minute)
Trait Implementations§
Source§impl Debug for Tier1Config
impl Debug for Tier1Config
Source§impl Default for Tier1Config
impl Default for Tier1Config
Source§impl<'de> Deserialize<'de> for Tier1Config
impl<'de> Deserialize<'de> for Tier1Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Tier1Config
impl RefUnwindSafe for Tier1Config
impl Send for Tier1Config
impl Sync for Tier1Config
impl Unpin for Tier1Config
impl UnwindSafe for Tier1Config
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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