#[non_exhaustive]#[repr(u32)]pub enum GetHeader {
Req = 0,
ReqTop = 1,
Resp = 2,
Obj = 3,
Bereq = 4,
Beresp = 5,
}Expand description
Getting hold of the various struct http
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§
impl Copy for GetHeader
impl Eq for GetHeader
impl StructuralPartialEq for GetHeader
Auto Trait Implementations§
impl Freeze for GetHeader
impl RefUnwindSafe for GetHeader
impl Send for GetHeader
impl Sync for GetHeader
impl Unpin for GetHeader
impl UnwindSafe for GetHeader
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