#[non_exhaustive]pub enum RecordKind {
Srv,
Naptr,
}Expand description
A DNS record type the engine asks for (StreamCommand::ResolveRecords).
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§
Source§impl Clone for RecordKind
impl Clone for RecordKind
impl Copy for RecordKind
Source§impl Debug for RecordKind
impl Debug for RecordKind
impl Eq for RecordKind
Source§impl Hash for RecordKind
impl Hash for RecordKind
Source§impl PartialEq for RecordKind
impl PartialEq for RecordKind
impl StructuralPartialEq for RecordKind
Auto Trait Implementations§
impl Forget for RecordKind
impl Freeze for RecordKind
impl Move for RecordKind
impl RefUnwindSafe for RecordKind
impl Send for RecordKind
impl Sync for RecordKind
impl Unpin for RecordKind
impl UnsafeUnpin for RecordKind
impl UnwindSafe for RecordKind
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