pub struct RepeatingRegistry { /* private fields */ }Expand description
The registry sweep as a declared pair of queriers (#37) — for callers
that re-run the sweep (--watch topic list, doctor’s second pass, a GUI
refresh). One-shot callers keep fleet_registry.
Two queriers, not one: the wildcard-producer fan-out plus @catalog by
name (a * never matches a verbatim origin, D4 — the two cannot
double-count; same reasoning as fleet_registry).
Implementations§
Source§impl RepeatingRegistry
impl RepeatingRegistry
pub async fn declare( session: &Session, base: &str, timeout: Duration, ) -> Result<Self>
Sourcepub async fn fetch(&self) -> Result<Vec<(RegistrySlice, String)>>
pub async fn fetch(&self) -> Result<Vec<(RegistrySlice, String)>>
One sweep: every parsed slice with its raw TOML. A reply that does not parse is logged and skipped, never fatal — one malformed producer must not blind the tool to every other producer’s slice.
pub async fn undeclare(self) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for RepeatingRegistry
impl !UnwindSafe for RepeatingRegistry
impl Freeze for RepeatingRegistry
impl Send for RepeatingRegistry
impl Sync for RepeatingRegistry
impl Unpin for RepeatingRegistry
impl UnsafeUnpin for RepeatingRegistry
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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