pub struct AsciiCheckWarningError<R>(/* private fields */);Available on crate feature
ascii only.Expand description
A response of type R was received with an unexpected warning flag.
Implementations§
Trait Implementations§
Source§impl<R: Response> AsRef<R> for AsciiCheckWarningError<R>
impl<R: Response> AsRef<R> for AsciiCheckWarningError<R>
Source§impl<R: Debug> Debug for AsciiCheckWarningError<R>
impl<R: Debug> Debug for AsciiCheckWarningError<R>
Source§impl<R: Response> Display for AsciiCheckWarningError<R>
impl<R: Response> Display for AsciiCheckWarningError<R>
impl<R: Eq> Eq for AsciiCheckWarningError<R>
Source§impl<R: Response> Error for AsciiCheckWarningError<R>
impl<R: Response> Error for AsciiCheckWarningError<R>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AsciiCheckWarningError<Alert>> for Alert
impl From<AsciiCheckWarningError<Alert>> for Alert
Source§fn from(other: AsciiCheckWarningError<Alert>) -> Self
fn from(other: AsciiCheckWarningError<Alert>) -> Self
Consume the error and return the response associated with it.
Source§impl From<AsciiCheckWarningError<AnyResponse>> for AnyResponse
impl From<AsciiCheckWarningError<AnyResponse>> for AnyResponse
Source§fn from(other: AsciiCheckWarningError<AnyResponse>) -> Self
fn from(other: AsciiCheckWarningError<AnyResponse>) -> Self
Consume the error and return the response associated with it.
Source§impl From<AsciiCheckWarningError<AnyResponse>> for AsciiError
impl From<AsciiCheckWarningError<AnyResponse>> for AsciiError
Source§fn from(other: AsciiCheckWarningError<AnyResponse>) -> Self
fn from(other: AsciiCheckWarningError<AnyResponse>) -> Self
Converts to this type from the input type.
Source§impl From<AsciiCheckWarningError<AnyResponse>> for Error
Available on crate feature binary only.
impl From<AsciiCheckWarningError<AnyResponse>> for Error
Available on crate feature
binary only.Source§fn from(other: AsciiCheckWarningError<AnyResponse>) -> Self
fn from(other: AsciiCheckWarningError<AnyResponse>) -> Self
Converts to this type from the input type.
Source§impl From<AsciiCheckWarningError<Info>> for Info
impl From<AsciiCheckWarningError<Info>> for Info
Source§fn from(other: AsciiCheckWarningError<Info>) -> Self
fn from(other: AsciiCheckWarningError<Info>) -> Self
Consume the error and return the response associated with it.
Source§impl<R> From<AsciiCheckWarningError<R>> for AsciiCheckWarningError<AnyResponse>where
R: SpecificResponse,
impl<R> From<AsciiCheckWarningError<R>> for AsciiCheckWarningError<AnyResponse>where
R: SpecificResponse,
Source§fn from(other: AsciiCheckWarningError<R>) -> Self
fn from(other: AsciiCheckWarningError<R>) -> Self
Converts to this type from the input type.
Source§impl<R: Response> From<AsciiCheckWarningError<R>> for AsciiCheckError<R>
impl<R: Response> From<AsciiCheckWarningError<R>> for AsciiCheckError<R>
Source§fn from(other: AsciiCheckWarningError<R>) -> Self
fn from(other: AsciiCheckWarningError<R>) -> Self
Converts to this type from the input type.
Source§impl From<AsciiCheckWarningError<Reply>> for Reply
impl From<AsciiCheckWarningError<Reply>> for Reply
Source§fn from(other: AsciiCheckWarningError<Reply>) -> Self
fn from(other: AsciiCheckWarningError<Reply>) -> Self
Consume the error and return the response associated with it.
Source§impl<R: PartialEq> PartialEq for AsciiCheckWarningError<R>
impl<R: PartialEq> PartialEq for AsciiCheckWarningError<R>
impl<R: PartialEq> StructuralPartialEq for AsciiCheckWarningError<R>
Source§impl<R: Response> TryFrom<AsciiCheckError<R>> for AsciiCheckWarningError<R>
impl<R: Response> TryFrom<AsciiCheckError<R>> for AsciiCheckWarningError<R>
Source§type Error = AsciiCheckError<R>
type Error = AsciiCheckError<R>
The type returned in the event of a conversion error.
Source§impl TryFrom<AsciiCheckWarningError<AnyResponse>> for AsciiCheckWarningError<Reply>
impl TryFrom<AsciiCheckWarningError<AnyResponse>> for AsciiCheckWarningError<Reply>
Source§type Error = AsciiCheckWarningError<AnyResponse>
type Error = AsciiCheckWarningError<AnyResponse>
The type returned in the event of a conversion error.
Source§fn try_from(
other: AsciiCheckWarningError<AnyResponse>,
) -> Result<Self, Self::Error>
fn try_from( other: AsciiCheckWarningError<AnyResponse>, ) -> Result<Self, Self::Error>
Performs the conversion.
Source§impl TryFrom<AsciiCheckWarningError<AnyResponse>> for AsciiCheckWarningError<Alert>
impl TryFrom<AsciiCheckWarningError<AnyResponse>> for AsciiCheckWarningError<Alert>
Source§type Error = AsciiCheckWarningError<AnyResponse>
type Error = AsciiCheckWarningError<AnyResponse>
The type returned in the event of a conversion error.
Source§fn try_from(
other: AsciiCheckWarningError<AnyResponse>,
) -> Result<Self, Self::Error>
fn try_from( other: AsciiCheckWarningError<AnyResponse>, ) -> Result<Self, Self::Error>
Performs the conversion.
Source§impl TryFrom<AsciiCheckWarningError<AnyResponse>> for AsciiCheckWarningError<Info>
impl TryFrom<AsciiCheckWarningError<AnyResponse>> for AsciiCheckWarningError<Info>
Source§type Error = AsciiCheckWarningError<AnyResponse>
type Error = AsciiCheckWarningError<AnyResponse>
The type returned in the event of a conversion error.
Source§fn try_from(
other: AsciiCheckWarningError<AnyResponse>,
) -> Result<Self, Self::Error>
fn try_from( other: AsciiCheckWarningError<AnyResponse>, ) -> Result<Self, Self::Error>
Performs the conversion.
Source§impl TryFrom<AsciiError> for AsciiCheckWarningError<AnyResponse>
impl TryFrom<AsciiError> for AsciiCheckWarningError<AnyResponse>
Source§type Error = AsciiError
type Error = AsciiError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<R> Freeze for AsciiCheckWarningError<R>
impl<R> RefUnwindSafe for AsciiCheckWarningError<R>
impl<R> Send for AsciiCheckWarningError<R>
impl<R> Sync for AsciiCheckWarningError<R>
impl<R> Unpin for AsciiCheckWarningError<R>
impl<R> UnsafeUnpin for AsciiCheckWarningError<R>
impl<R> UnwindSafe for AsciiCheckWarningError<R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more