pub struct CommitConvergenceInput<'a, F: RepositoryFacts> {
pub request: &'a StageRequest,
pub checks: &'a mut ShippedChecks<F>,
pub stage: PrivateStage<'a>,
}Expand description
What: Everything one commit-path convergence reads and writes. Why: The request, the shipped checks and the private index travel together, so no caller can pair them wrongly.
In TS you’d write (pseudocode):
type ConvergenceInput = { request; checks; stage };Fields§
§request: &'a StageRequestThe pre-forward stage request the passes run under.
checks: &'a mut ShippedChecks<F>The shipped checks whose facts read the private index.
stage: PrivateStage<'a>The private index and object store the corrections are written to.
Auto Trait Implementations§
impl<'a, F> !RefUnwindSafe for CommitConvergenceInput<'a, F>
impl<'a, F> !Send for CommitConvergenceInput<'a, F>
impl<'a, F> !Sync for CommitConvergenceInput<'a, F>
impl<'a, F> !UnwindSafe for CommitConvergenceInput<'a, F>
impl<'a, F> Freeze for CommitConvergenceInput<'a, F>where
&'a mut ShippedChecks<F>: Freeze,
impl<'a, F> Unpin for CommitConvergenceInput<'a, F>where
&'a mut ShippedChecks<F>: Unpin,
impl<'a, F> UnsafeUnpin for CommitConvergenceInput<'a, F>where
&'a mut ShippedChecks<F>: UnsafeUnpin,
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
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