pub enum CancellationReason {
User,
Deadline,
LeaseLost,
HostShutdown,
}Variants§
Trait Implementations§
Source§impl Clone for CancellationReason
impl Clone for CancellationReason
Source§fn clone(&self) -> CancellationReason
fn clone(&self) -> CancellationReason
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 moreimpl Copy for CancellationReason
Source§impl Debug for CancellationReason
impl Debug for CancellationReason
Source§impl<'de> Deserialize<'de> for CancellationReason
impl<'de> Deserialize<'de> for CancellationReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CancellationReason
Source§impl PartialEq for CancellationReason
impl PartialEq for CancellationReason
Source§impl Serialize for CancellationReason
impl Serialize for CancellationReason
impl StructuralPartialEq for CancellationReason
Auto Trait Implementations§
impl Freeze for CancellationReason
impl RefUnwindSafe for CancellationReason
impl Send for CancellationReason
impl Sync for CancellationReason
impl Unpin for CancellationReason
impl UnsafeUnpin for CancellationReason
impl UnwindSafe for CancellationReason
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