Skip to main content

Ending

Enum Ending 

Source
pub enum Ending<'a> {
    Approved,
    OutOfRounds,
    Unchanged,
    Unresolved(&'a [Finding]),
    Deadlocked(&'a [Finding]),
}
Expand description

How the run ended, which is the only thing about the run a reader needs.

Variants§

§

Approved

Nothing blocks a merge.

§

OutOfRounds

The closing pass could not run, so the last round’s fixes were pushed and nothing has read them, which is the part a maintainer has to know.

§

Unchanged

The budget ran out on a branch the last round did not change. Nothing is unread, and nothing cleared the points that were raised either.

§

Unresolved(&'a [Finding])

The closing pass read what the last round left and did not sign it off. Nothing more will be fixed here, so what is left is a person’s to weigh.

§

Deadlocked(&'a [Finding])

A point that ran out of tries: refuted and raised again anyway, or fixed twice and raised again. Nobody is going to break the tie but a person.

Auto Trait Implementations§

§

impl<'a> Freeze for Ending<'a>

§

impl<'a> RefUnwindSafe for Ending<'a>

§

impl<'a> Send for Ending<'a>

§

impl<'a> Sync for Ending<'a>

§

impl<'a> Unpin for Ending<'a>

§

impl<'a> UnsafeUnpin for Ending<'a>

§

impl<'a> UnwindSafe for Ending<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.