trust_dns_proto::op::message

Type Alias MessageVerifier

Source
pub type MessageVerifier = Box<dyn FnMut(&[u8]) -> ProtoResult<DnsResponse> + Send>;
Expand description

Alias for a function verifying if a message is properly signed

Aliased Typeยง

struct MessageVerifier(/* private fields */);