trust_dns_proto::error

Trait FromProtoError

Source
pub trait FromProtoError:
    From<ProtoError>
    + Error
    + Clone { }
Expand description

A trait marking a type which implements From and std::error::Error types as well as Clone + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E> FromProtoError for E
where E: From<ProtoError> + Error + Clone,