Struct hickory_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§
source§impl Clone for NoopMessageFinalizer
impl Clone for NoopMessageFinalizer
source§fn clone(&self) -> NoopMessageFinalizer
fn clone(&self) -> NoopMessageFinalizer
Returns a copy 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 NoopMessageFinalizer
impl Debug for NoopMessageFinalizer
source§impl MessageFinalizer for NoopMessageFinalizer
impl MessageFinalizer for NoopMessageFinalizer
source§fn finalize_message(
&self,
_: &Message,
_: u32
) -> ProtoResult<(Vec<Record>, Option<MessageVerifier>)>
fn finalize_message( &self, _: &Message, _: u32 ) -> ProtoResult<(Vec<Record>, Option<MessageVerifier>)>
source§fn should_finalize_message(&self, _: &Message) -> bool
fn should_finalize_message(&self, _: &Message) -> bool
Return whether the message requires further processing before being sent
By default, returns true for AXFR and IXFR queries, and Update and Notify messages
impl Copy for NoopMessageFinalizer
Auto Trait Implementations§
impl Freeze for NoopMessageFinalizer
impl RefUnwindSafe for NoopMessageFinalizer
impl Send for NoopMessageFinalizer
impl Sync for NoopMessageFinalizer
impl Unpin for NoopMessageFinalizer
impl UnwindSafe for NoopMessageFinalizer
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