Searched refs:as_dyn_error (Results 1 – 4 of 4) sorted by relevance
4 fn as_dyn_error(&self) -> &(dyn Error + 'static); in as_dyn_error() method9 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error() method16 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error() method23 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error() method30 fn as_dyn_error(&self) -> &(dyn Error + 'static) { in as_dyn_error() method
23 std::error::Error::source(self.#only_field.as_dyn_error()) in impl_struct()32 let dyn_error = quote_spanned!(source.span()=> self.#source #asref.as_dyn_error()); in impl_struct()54 self.#source.as_ref().and_then(|source| source.as_dyn_error().backtrace()) in impl_struct()58 self.#source.as_dyn_error().backtrace() in impl_struct()163 let source = quote!(std::error::Error::source(transparent.as_dyn_error())); in impl_enum()175 let dyn_error = quote_spanned!(source.span()=> #varsource #asref.as_dyn_error()); in impl_enum()210 #varsource.as_ref().and_then(|source| source.as_dyn_error().backtrace()) in impl_enum()214 #varsource.as_dyn_error().backtrace() in impl_enum()
1 error[E0599]: the method `as_dyn_error` exists for struct `NotError`, but its trait bounds were not…7 | method `as_dyn_error` not found for this
1 error[E0599]: the method `as_dyn_error` exists for reference `&NotError`, but its trait bounds were…