Struct trust_dns_proto::error::ProtoError [−][src]
The error type for errors that get returned in the crate
Implementations
impl ProtoError
[src]
pub fn kind(&self) -> &ProtoErrorKind
[src]
Get the kind of the error
Trait Implementations
impl Clone for ProtoError
[src]
fn clone(&self) -> ProtoError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProtoError
[src]
impl Display for ProtoError
[src]
impl Error for ProtoError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<&'static str> for ProtoError
[src]
fn from(msg: &'static str) -> ProtoError
[src]
impl From<Error> for ProtoError
[src]
fn from(e: Error) -> ProtoError
[src]
impl From<ParseError> for ProtoError
[src]
fn from(e: ParseError) -> ProtoError
[src]
impl<T> From<PoisonError<T>> for ProtoError
[src]
fn from(_e: PoisonError<T>) -> ProtoError
[src]
impl From<ProtoErrorKind> for ProtoError
[src]
fn from(kind: ProtoErrorKind) -> ProtoError
[src]
impl From<SslErrorStack> for ProtoError
[src]
fn from(e: SslErrorStack) -> ProtoError
[src]
impl From<String> for ProtoError
[src]
fn from(msg: String) -> ProtoError
[src]
impl From<Unspecified> for ProtoError
[src]
fn from(e: Unspecified) -> ProtoError
[src]
impl From<Utf8Error> for ProtoError
[src]
fn from(e: Utf8Error) -> ProtoError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ProtoError
impl Send for ProtoError
impl Sync for ProtoError
impl Unpin for ProtoError
impl !UnwindSafe for ProtoError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<E> FromProtoError for E where
E: From<ProtoError> + Error + Clone,
[src]
E: From<ProtoError> + Error + Clone,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,