pub struct ReloadOutcome {
pub index_handles: Vec<(String, Box<dyn IndexHandle>)>,
pub cdc_streams: Vec<(String, Box<dyn CdcStream>)>,
}Expand description
The outcome of a successful reload — opaque container for any new in-flight resources the dispatcher constructed (reopened index handles, restarted CDC streams) so the host can re-attach them.
Fields§
§index_handles: Vec<(String, Box<dyn IndexHandle>)>Reopened index handles, paired with their registry name.
cdc_streams: Vec<(String, Box<dyn CdcStream>)>Restarted CDC streams, paired with their registry name.
Trait Implementations§
Source§impl Debug for ReloadOutcome
impl Debug for ReloadOutcome
Source§impl Default for ReloadOutcome
impl Default for ReloadOutcome
Source§fn default() -> ReloadOutcome
fn default() -> ReloadOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ReloadOutcome
impl !Sync for ReloadOutcome
impl !UnwindSafe for ReloadOutcome
impl Freeze for ReloadOutcome
impl Send for ReloadOutcome
impl Unpin for ReloadOutcome
impl UnsafeUnpin for ReloadOutcome
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