pub enum CodeKind {
Request,
Response,
Empty,
}
Expand description
Whether a code is for a request, response, or empty message
Variants§
Trait Implementations§
source§impl PartialEq<CodeKind> for CodeKind
impl PartialEq<CodeKind> for CodeKind
impl Copy for CodeKind
impl Eq for CodeKind
impl StructuralEq for CodeKind
impl StructuralPartialEq for CodeKind
Auto Trait Implementations§
impl RefUnwindSafe for CodeKind
impl Send for CodeKind
impl Sync for CodeKind
impl Unpin for CodeKind
impl UnwindSafe for CodeKind
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