pub struct ReloadKindHandlers {
pub index_handles: Vec<IndexHandoff>,
pub cdc_streams: Vec<CdcHandoff>,
}Expand description
Host-supplied handlers wiring per-kind in-flight resources into the reload pipeline.
The registry tracks providers, not the per-instance resources those providers spawn (open index handles, live CDC streams). The host owns those resources and supplies them through this builder so the dispatcher can persist / checkpoint them at the right moment.
Fields§
§index_handles: Vec<IndexHandoff>Live index handles to persist and reopen against the new provider.
cdc_streams: Vec<CdcHandoff>Live CDC streams to checkpoint and restart against the new provider.
Trait Implementations§
Source§impl Debug for ReloadKindHandlers
impl Debug for ReloadKindHandlers
Source§impl Default for ReloadKindHandlers
impl Default for ReloadKindHandlers
Source§fn default() -> ReloadKindHandlers
fn default() -> ReloadKindHandlers
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ReloadKindHandlers
impl !Sync for ReloadKindHandlers
impl !UnwindSafe for ReloadKindHandlers
impl Freeze for ReloadKindHandlers
impl Send for ReloadKindHandlers
impl Unpin for ReloadKindHandlers
impl UnsafeUnpin for ReloadKindHandlers
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<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