#[non_exhaustive]pub enum CodecErrorStage {
Start,
Body,
Stream,
Finish,
}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 CodecErrorStage
impl Clone for CodecErrorStage
impl Copy for CodecErrorStage
Source§impl Debug for CodecErrorStage
impl Debug for CodecErrorStage
impl Eq for CodecErrorStage
Source§impl PartialEq for CodecErrorStage
impl PartialEq for CodecErrorStage
impl StructuralPartialEq for CodecErrorStage
Auto Trait Implementations§
impl Freeze for CodecErrorStage
impl RefUnwindSafe for CodecErrorStage
impl Send for CodecErrorStage
impl Sync for CodecErrorStage
impl Unpin for CodecErrorStage
impl UnsafeUnpin for CodecErrorStage
impl UnwindSafe for CodecErrorStage
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