pub enum HydrationCancellationOutcome {
Cancelled,
AlreadyCancelled,
AlreadyCompleted,
}Expand description
Result of attempting to cancel one hydration waiter.
Variants§
Cancelled
Cancellation won the terminal race for this waiter.
AlreadyCancelled
This waiter had already been cancelled.
AlreadyCompleted
Completion won before cancellation was applied.
Trait Implementations§
Source§impl Clone for HydrationCancellationOutcome
impl Clone for HydrationCancellationOutcome
Source§fn clone(&self) -> HydrationCancellationOutcome
fn clone(&self) -> HydrationCancellationOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 HydrationCancellationOutcome
impl Debug for HydrationCancellationOutcome
Source§impl Hash for HydrationCancellationOutcome
impl Hash for HydrationCancellationOutcome
Source§impl PartialEq for HydrationCancellationOutcome
impl PartialEq for HydrationCancellationOutcome
Source§fn eq(&self, other: &HydrationCancellationOutcome) -> bool
fn eq(&self, other: &HydrationCancellationOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HydrationCancellationOutcome
impl Eq for HydrationCancellationOutcome
impl StructuralPartialEq for HydrationCancellationOutcome
Auto Trait Implementations§
impl Freeze for HydrationCancellationOutcome
impl RefUnwindSafe for HydrationCancellationOutcome
impl Send for HydrationCancellationOutcome
impl Sync for HydrationCancellationOutcome
impl Unpin for HydrationCancellationOutcome
impl UnwindSafe for HydrationCancellationOutcome
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