pub struct HotMirrorInputs<'a> { /* private fields */ }Expand description
Inputs the planner reads for one range failover.
Implementations§
Source§impl<'a> HotMirrorInputs<'a>
impl<'a> HotMirrorInputs<'a>
pub fn new( catalog: &'a ShardOwnershipCatalog, collection: CollectionId, range_id: RangeId, watermark: CommitWatermark, ) -> HotMirrorInputs<'a>
pub fn with_catch_up(self, evidence: CatchUpEvidence) -> HotMirrorInputs<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for HotMirrorInputs<'a>
impl<'a> Freeze for HotMirrorInputs<'a>where
&'a ShardOwnershipCatalog: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CatchUpEvidence>: Freeze,
impl<'a> Move for HotMirrorInputs<'a>
impl<'a> RefUnwindSafe for HotMirrorInputs<'a>
impl<'a> Send for HotMirrorInputs<'a>
impl<'a> Sync for HotMirrorInputs<'a>where
NodeRef<Owned, CollectionId, ShardKeyMode, LeafOrInternal>: Sync,
BoxRaw<(CollectionId, ShardKeyMode)>: Sync,
NodeRef<Owned, (CollectionId, RangeId), RangeOwnership, LeafOrInternal>: Sync,
BoxRaw<((CollectionId, RangeId), RangeOwnership)>: Sync,
RawVecInner: Sync,
impl<'a> Unpin for HotMirrorInputs<'a>
impl<'a> UnsafeUnpin for HotMirrorInputs<'a>where
&'a ShardOwnershipCatalog: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CatchUpEvidence>: UnsafeUnpin,
impl<'a> UnwindSafe for HotMirrorInputs<'a>
Blanket Implementations§
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
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request