3LI5FAF5ULXOWBMTG4XCUOMUPVROSFDY6FWGE574OH4JGPMOPNVAC
GZZOJ7ZUSBPI3HXIV5UCFNMCDAMZPPLISY2UDV73FDN74HZ3AWJAC
CITEDKPB6MKVZUEYEDE5ZKTNVY35HCOAXKDPYG7YLLEOVFNMSRXQC
use std::error::Error;
use std::error::Error as StdError;
fn as_error(&self) -> &(dyn Error + Send + Sync + 'static);
fn as_error(&self) -> &(dyn StdError + Send + Sync + 'static);
impl<T: Error + Send + Sync + 'static> AsError for T { fn as_error(&self) -> &(dyn Error + Send + Sync + 'static) {
impl<T: Error + Send + Sync + 'static> AsError for T {
fn as_error(&self) -> &(dyn Error + Send + Sync + 'static) {
impl<T: StdError + Send + Sync + 'static> AsError for T { fn as_error(&self) -> &(dyn StdError + Send + Sync + 'static) {
impl<T: StdError + Send + Sync + 'static> AsError for T {
fn as_error(&self) -> &(dyn StdError + Send + Sync + 'static) {
impl AsError for dyn Error + Send + Sync + 'static { fn as_error(&self) -> &(dyn Error + Send + Sync + 'static) {
impl AsError for dyn Error + Send + Sync + 'static {
impl AsError for dyn StdError + Send + Sync + 'static { fn as_error(&self) -> &(dyn StdError + Send + Sync + 'static) {
impl AsError for dyn StdError + Send + Sync + 'static {
impl<T, E: Error + Send + Sync + 'static> Context<T, E> for Result<T, E> {
impl<T, E: StdError + Send + Sync + 'static> Context<T, E> for Result<T, E> {
impl<E: Error + 'static, C: Display> Error for ContextError<E, C> {
impl<E: StdError + 'static, C: Display> StdError for ContextError<E, C> {
fn cause(&self) -> Option<&dyn Error> {
fn cause(&self) -> Option<&dyn StdError> {
fn source(&self) -> Option<&(dyn Error + 'static)> {
fn source(&self) -> Option<&(dyn StdError + 'static)> {
impl<C: Display> Error for ContextError<Exception, C> {
impl<C: Display> StdError for ContextError<Exception, C> {
E: Error + Send + Sync + 'static,
E: StdError + Send + Sync + 'static,
let obj: TraitObject = mem::transmute(&error as &dyn Error);
let obj: TraitObject = mem::transmute(&error as &dyn StdError);
pub fn as_error(&self) -> &(dyn Error + Send + Sync + 'static) {
pub fn as_error(&self) -> &(dyn StdError + Send + Sync + 'static) {
pub fn as_error_mut(&mut self) -> &mut (dyn Error + Send + Sync + 'static) {
pub fn as_error_mut(&mut self) -> &mut (dyn StdError + Send + Sync + 'static) {
unsafe { Some(&*(self.inner.error() as *const dyn Error as *const E)) }
unsafe { Some(&*(self.inner.error() as *const dyn StdError as *const E)) }
unsafe { Some(&mut *(self.inner.error_mut() as *mut dyn Error as *mut E)) }
unsafe { Some(&mut *(self.inner.error_mut() as *mut dyn StdError as *mut E)) }
impl<E: Error + Send + Sync + 'static> From<E> for Exception {
impl<E: StdError + Send + Sync + 'static> From<E> for Exception {
type Target = dyn Error + Send + Sync + 'static;
type Target = dyn StdError + Send + Sync + 'static;
impl<M: Display + Debug + 'static> Error for MessageError<M> {}
impl<M: Display + Debug + 'static> StdError for MessageError<M> {}
fn error(&self) -> &(dyn Error + Send + Sync + 'static) {
fn error(&self) -> &(dyn StdError + Send + Sync + 'static) {
fn error_mut(&mut self) -> &mut (dyn Error + Send + Sync + 'static) {
fn error_mut(&mut self) -> &mut (dyn StdError + Send + Sync + 'static) {
next: Option<&'a (dyn Error + 'static)>,
next: Option<&'a (dyn StdError + 'static)>,
type Item = &'a (dyn Error + 'static);
type Item = &'a (dyn StdError + 'static);
impl Error for HasDrop {}
impl StdError for HasDrop {}