[][src]Struct trust_dns_proto::error::ProtoError

pub struct ProtoError { /* fields omitted */ }

The error type for errors that get returned in the crate

Methods

impl ProtoError[src]

pub fn kind(&self) -> &ProtoErrorKind[src]

Get the kind of the error

Trait Implementations

impl Clone for ProtoError[src]

impl Debug for ProtoError[src]

impl Display for ProtoError[src]

impl Error for ProtoError[src]

impl From<&'static str> for ProtoError[src]

impl From<Error> for ProtoError[src]

impl From<ParseError> for ProtoError[src]

impl<T> From<PoisonError<T>> for ProtoError[src]

impl From<ProtoError> for Error[src]

impl From<ProtoError> for String[src]

impl From<ProtoErrorKind> for ProtoError[src]

impl From<SslErrorStack> for ProtoError[src]

impl From<String> for ProtoError[src]

impl From<Unspecified> for ProtoError[src]

impl From<Utf8Error> for ProtoError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<E> FromProtoError for E where
    E: From<ProtoError> + Error + Clone
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,