pub enum Cancellation {
Cancelled(Cancelled),
Cancellable(Cancellable),
}Expand description
Indicates the cancellation status of the server.
Variants§
Cancelled(Cancelled)
Server has been cancelled.
Cancellable(Cancellable)
Server has not been cancelled.
Trait Implementations§
Source§impl Debug for Cancellation
impl Debug for Cancellation
Source§impl<'de> Deserialize<'de> for Cancellation
impl<'de> Deserialize<'de> for Cancellation
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
Auto Trait Implementations§
impl Freeze for Cancellation
impl RefUnwindSafe for Cancellation
impl Send for Cancellation
impl Sync for Cancellation
impl Unpin for Cancellation
impl UnwindSafe for Cancellation
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