pub enum QueryResponse {
Query = 0,
Response = 1,
}Expand description
Query (0) or Response (1) packet.
Variants§
Trait Implementations§
Source§impl Clone for QueryResponse
impl Clone for QueryResponse
Source§fn clone(&self) -> QueryResponse
fn clone(&self) -> QueryResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueryResponse
impl Debug for QueryResponse
Source§impl From<u16> for QueryResponse
impl From<u16> for QueryResponse
Source§fn from(n: u16) -> QueryResponse
fn from(n: u16) -> QueryResponse
Converts to this type from the input type.
Source§impl PartialEq for QueryResponse
impl PartialEq for QueryResponse
impl Copy for QueryResponse
impl Eq for QueryResponse
impl StructuralPartialEq for QueryResponse
Auto Trait Implementations§
impl Freeze for QueryResponse
impl RefUnwindSafe for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Unpin for QueryResponse
impl UnwindSafe for QueryResponse
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