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 MessageFinalizer for NoopMessageFinalizer
impl MessageFinalizer for NoopMessageFinalizer
sourcefn finalize_message(&self, _: &Message, _: u32) -> ProtoResult<Vec<Record>>
fn finalize_message(&self, _: &Message, _: u32) -> ProtoResult<Vec<Record>>
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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