#[non_exhaustive]pub enum CapabilityErrorStage {
Start,
BodyTransfer,
Stream,
}Expand description
Whether an error occurred before or during transfer.
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.
Trait Implementations§
Source§impl Clone for CapabilityErrorStage
impl Clone for CapabilityErrorStage
impl Copy for CapabilityErrorStage
Source§impl Debug for CapabilityErrorStage
impl Debug for CapabilityErrorStage
impl Eq for CapabilityErrorStage
Source§impl PartialEq for CapabilityErrorStage
impl PartialEq for CapabilityErrorStage
impl StructuralPartialEq for CapabilityErrorStage
Auto Trait Implementations§
impl Freeze for CapabilityErrorStage
impl RefUnwindSafe for CapabilityErrorStage
impl Send for CapabilityErrorStage
impl Sync for CapabilityErrorStage
impl Unpin for CapabilityErrorStage
impl UnsafeUnpin for CapabilityErrorStage
impl UnwindSafe for CapabilityErrorStage
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