Enum dominion_parser::header::OpCode
source · [−]#[non_exhaustive]
pub enum OpCode {
Query,
Iquery,
Status,
Notify,
Update,
Dso,
}Expand description
Standard query (0), Inverse query (1), Server status query (2), Notify (4), Update (5), DSO (6)
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.
Query
Standard query
Iquery
Inverse query
Status
Server status query
Notify
Notify
Update
Update
Dso
DSO
Trait Implementations
impl Copy for OpCode
impl Eq for OpCode
impl StructuralEq for OpCode
impl StructuralPartialEq for OpCode
Auto Trait Implementations
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnwindSafe for OpCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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