pub struct OastDnsEvent { /* private fields */ }Expand description
Typed DNS callback without names, addresses, or payload bytes.
Implementations§
Source§impl OastDnsEvent
impl OastDnsEvent
Sourcepub const fn new(
transport: OastDnsTransport,
record_type: OastDnsRecordType,
) -> Self
pub const fn new( transport: OastDnsTransport, record_type: OastDnsRecordType, ) -> Self
Creates a raw-free DNS classification.
Sourcepub const fn transport(self) -> OastDnsTransport
pub const fn transport(self) -> OastDnsTransport
Returns the transport.
Sourcepub const fn record_type(self) -> OastDnsRecordType
pub const fn record_type(self) -> OastDnsRecordType
Returns the record type.
Trait Implementations§
Source§impl Clone for OastDnsEvent
impl Clone for OastDnsEvent
Source§fn clone(&self) -> OastDnsEvent
fn clone(&self) -> OastDnsEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OastDnsEvent
Source§impl Debug for OastDnsEvent
impl Debug for OastDnsEvent
impl Eq for OastDnsEvent
Source§impl Hash for OastDnsEvent
impl Hash for OastDnsEvent
Source§impl Ord for OastDnsEvent
impl Ord for OastDnsEvent
Source§fn cmp(&self, other: &OastDnsEvent) -> Ordering
fn cmp(&self, other: &OastDnsEvent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OastDnsEvent
impl PartialEq for OastDnsEvent
Source§impl PartialOrd for OastDnsEvent
impl PartialOrd for OastDnsEvent
impl StructuralPartialEq for OastDnsEvent
Auto Trait Implementations§
impl Freeze for OastDnsEvent
impl RefUnwindSafe for OastDnsEvent
impl Send for OastDnsEvent
impl Sync for OastDnsEvent
impl Unpin for OastDnsEvent
impl UnsafeUnpin for OastDnsEvent
impl UnwindSafe for OastDnsEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more