pub struct WxError { /* private fields */ }
Expand description
A boxed error kind, wrapping an WxErrorKind.
Implementations§
Trait Implementations§
Source§impl Error for WxError
impl Error for WxError
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<DecodeError> for WxError
impl From<DecodeError> for WxError
Source§fn from(error: DecodeError) -> Self
fn from(error: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<DecompressError> for WxError
impl From<DecompressError> for WxError
Source§fn from(error: DecompressError) -> Self
fn from(error: DecompressError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionError> for WxError
impl From<ExecutionError> for WxError
Source§fn from(error: ExecutionError) -> Self
fn from(error: ExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for WxError
impl From<FromUtf8Error> for WxError
Source§fn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<InvalidLength> for WxError
impl From<InvalidLength> for WxError
Source§fn from(error: InvalidLength) -> Self
fn from(error: InvalidLength) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for WxError
impl From<ParseIntError> for WxError
Source§fn from(error: ParseIntError) -> Self
fn from(error: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<ParserError> for WxError
impl From<ParserError> for WxError
Source§fn from(error: ParserError) -> Self
fn from(error: ParserError) -> Self
Converts to this type from the input type.
Source§impl From<StripPrefixError> for WxError
impl From<StripPrefixError> for WxError
Source§fn from(error: StripPrefixError) -> Self
fn from(error: StripPrefixError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for WxError
impl From<TryFromSliceError> for WxError
Source§fn from(error: TryFromSliceError) -> Self
fn from(error: TryFromSliceError) -> Self
Converts to this type from the input type.
Source§impl From<UnpadError> for WxError
impl From<UnpadError> for WxError
Source§fn from(error: UnpadError) -> Self
fn from(error: UnpadError) -> Self
Converts to this type from the input type.
Source§impl From<WxErrorKind> for WxError
impl From<WxErrorKind> for WxError
Source§fn from(value: WxErrorKind) -> Self
fn from(value: WxErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WxError
impl !RefUnwindSafe for WxError
impl Send for WxError
impl Sync for WxError
impl Unpin for WxError
impl !UnwindSafe for WxError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more