#[non_exhaustive]pub enum RevisionWaitOutcome {
Revisions(Vec<Revision>),
TimedOut,
Closed,
Cancelled,
}Expand description
Outcome of one bounded wait for revisions after a sequence.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Revisions(Vec<Revision>)
A non-empty ascending page of revisions after the requested sequence.
TimedOut
No revision after the requested sequence appeared within the timeout.
Closed
The production the waiter belongs to was closed. Terminal.
Cancelled
The waiter was cancelled. Terminal.
Trait Implementations§
Source§impl Clone for RevisionWaitOutcome
impl Clone for RevisionWaitOutcome
Source§fn clone(&self) -> RevisionWaitOutcome
fn clone(&self) -> RevisionWaitOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevisionWaitOutcome
impl Debug for RevisionWaitOutcome
impl Eq for RevisionWaitOutcome
Source§impl PartialEq for RevisionWaitOutcome
impl PartialEq for RevisionWaitOutcome
impl StructuralPartialEq for RevisionWaitOutcome
Auto Trait Implementations§
impl Freeze for RevisionWaitOutcome
impl RefUnwindSafe for RevisionWaitOutcome
impl Send for RevisionWaitOutcome
impl Sync for RevisionWaitOutcome
impl Unpin for RevisionWaitOutcome
impl UnsafeUnpin for RevisionWaitOutcome
impl UnwindSafe for RevisionWaitOutcome
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