Struct trust_dns_proto::op::message::NoopMessageFinalizer
source · [−]pub struct NoopMessageFinalizer;
Expand description
A MessageFinalizer which does nothing
WARNING This should only be used in None context, it will panic in all cases where finalize is called.
Implementations
Trait Implementations
sourceimpl Clone for NoopMessageFinalizer
impl Clone for NoopMessageFinalizer
sourcefn clone(&self) -> NoopMessageFinalizer
fn clone(&self) -> NoopMessageFinalizer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NoopMessageFinalizer
impl Debug for NoopMessageFinalizer
sourceimpl MessageFinalizer for NoopMessageFinalizer
impl MessageFinalizer for NoopMessageFinalizer
sourcefn finalize_message(
&self,
_: &Message,
_: u32
) -> ProtoResult<(Vec<Record>, Option<MessageVerifier>)>
fn finalize_message(
&self,
_: &Message,
_: u32
) -> ProtoResult<(Vec<Record>, Option<MessageVerifier>)>
sourcefn should_finalize_message(&self, _: &Message) -> bool
fn should_finalize_message(&self, _: &Message) -> bool
Return whether the message require futher processing before being sent By default, returns true for AXFR and IXFR queries, and Update and Notify messages Read more
impl Copy for NoopMessageFinalizer
Auto Trait Implementations
impl RefUnwindSafe for NoopMessageFinalizer
impl Send for NoopMessageFinalizer
impl Sync for NoopMessageFinalizer
impl Unpin for NoopMessageFinalizer
impl UnwindSafe for NoopMessageFinalizer
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more