#[non_exhaustive]pub enum OpCode {
Query = 0,
Iquery = 1,
Status = 2,
Notify = 4,
Update = 5,
Dso = 6,
}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 = 0
Standard query
Iquery = 1
Inverse query
Status = 2
Server status query
Notify = 4
Notify
Update = 5
Update
Dso = 6
DSO
Trait Implementations§
impl Copy for OpCode
impl Eq for OpCode
impl StructuralPartialEq for OpCode
Auto Trait Implementations§
impl Freeze for OpCode
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnwindSafe for OpCode
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