pub enum InterruptionCause {
ProviderFailure,
MalformedStream,
Timeout,
Cancelled,
}Variants§
Trait Implementations§
Source§impl Clone for InterruptionCause
impl Clone for InterruptionCause
impl Copy for InterruptionCause
Source§impl Debug for InterruptionCause
impl Debug for InterruptionCause
Source§impl<'de> Deserialize<'de> for InterruptionCause
impl<'de> Deserialize<'de> for InterruptionCause
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 InterruptionCause
Source§impl PartialEq for InterruptionCause
impl PartialEq for InterruptionCause
Source§impl Serialize for InterruptionCause
impl Serialize for InterruptionCause
impl StructuralPartialEq for InterruptionCause
Auto Trait Implementations§
impl Freeze for InterruptionCause
impl RefUnwindSafe for InterruptionCause
impl Send for InterruptionCause
impl Sync for InterruptionCause
impl Unpin for InterruptionCause
impl UnsafeUnpin for InterruptionCause
impl UnwindSafe for InterruptionCause
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