pub enum CodeKind {
Request,
Response,
Empty,
}
Expand description
Whether a code is for a request, response, or empty message
Variants
Request
A request code (0.xx)
Response
A response code ([2-5].xx)
Empty
EMPTY (0.00)
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more