/external/rust/crates/anyhow/src/ |
D | context.rs | 2 use crate::{Context, Error, StdError}; 12 pub trait StdError { trait 19 impl<E> StdError for E 32 impl StdError for Error { 44 E: ext::StdError + Send + Sync + 'static, 121 impl<C, E> StdError for ContextError<C, E> 124 E: StdError + 'static, 131 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source() 136 impl<C> StdError for ContextError<C, Error> 145 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source() [all …]
|
D | error.rs | 7 use crate::{Error, StdError}; 30 E: StdError + Send + Sync + 'static, in new() 83 E: StdError + Send + Sync + 'static, in from_std() 157 E: StdError + Send + Sync + 'static, in from_context() 181 error: Box<dyn StdError + Send + Sync>, in from_boxed() 192 object_downcast: object_downcast::<Box<dyn StdError + Send + Sync>>, in from_boxed() 194 object_downcast_mut: object_downcast_mut::<Box<dyn StdError + Send + Sync>>, in from_boxed() 195 object_drop_rest: object_drop_front::<Box<dyn StdError + Send + Sync>>, in from_boxed() 216 E: StdError + Send + Sync + 'static, in construct() 387 pub fn root_cause(&self) -> &(dyn StdError + 'static) { in root_cause() [all …]
|
D | wrapper.rs | 1 use crate::StdError; 25 impl<M> StdError for MessageError<M> where M: Display + Debug + 'static {} 48 impl<M> StdError for DisplayError<M> where M: Display + 'static {} 52 pub struct BoxedError(pub Box<dyn StdError + Send + Sync>); 69 impl StdError for BoxedError { 75 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
|
D | chain.rs | 2 use crate::StdError; 18 next: Option<&'a (dyn StdError + 'static)>, 22 rest: vec::IntoIter<&'a (dyn StdError + 'static)>, 27 pub fn new(head: &'a (dyn StdError + 'static)) -> Self { in new() 35 type Item = &'a (dyn StdError + 'static);
|
D | kind.rs | 51 use crate::StdError; 105 impl BoxedKind for Box<dyn StdError + Send + Sync> {} 109 pub fn new(self, error: Box<dyn StdError + Send + Sync>) -> Error { in new()
|
D | lib.rs | 263 use std::error::Error as StdError; 266 trait StdError: Debug + Display { interface 267 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
|
/external/rust/crates/csv/src/ |
D | error.rs | 1 use std::error::Error as StdError; 137 impl StdError for Error { 138 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source() 251 impl StdError for FromUtf8Error { 252 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source() 288 impl StdError for Utf8Error {} 337 impl<W: std::any::Any> StdError for IntoInnerError<W> { 338 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
|
/external/rust/crates/anyhow/tests/ |
D | test_convert.rs | 7 use std::error::Error as StdError; 13 let box_dyn = Box::<dyn StdError + Send + Sync>::from(error); in test_convert() 20 fn test_question_mark() -> Result<(), Box<dyn StdError>> { in test_question_mark()
|
D | test_boxed.rs | 2 use std::error::Error as StdError; 14 let error = Box::<dyn StdError + Send + Sync>::from("oh no!"); in test_boxed_str() 20 .downcast_ref::<Box<dyn StdError + Send + Sync>>() in test_boxed_str()
|
D | test_source.rs | 2 use std::error::Error as StdError; 19 impl StdError for TestError { 20 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
|
D | test_downcast.rs | 9 use std::error::Error as StdError; 99 impl StdError for LargeAlignedError {} in test_large_alignment()
|
/external/rust/cxx/gen/lib/src/ |
D | error.rs | 4 use std::error::Error as StdError; 29 impl StdError for Error { 30 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
|
/external/rust/cxx/gen/src/ |
D | error.rs | 8 use std::error::Error as StdError; 37 impl StdError for Error { 38 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source() 85 pub(crate) fn report(error: impl StdError) -> impl Display { in report() 88 impl<E: StdError> Display for Report<E> { in report() 91 let mut error: &dyn StdError = &self.0; in report()
|
D | fs.rs | 3 use std::error::Error as StdError; 22 impl StdError for Error { 23 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
|
/external/rust/crates/criterion/src/ |
D | error.rs | 3 use std::error::Error as StdError; 43 impl StdError for Error { 53 fn cause(&self) -> Option<&dyn StdError> { in cause() argument
|
/external/rust/cxx/gen/build/src/ |
D | error.rs | 3 use std::error::Error as StdError; 85 impl StdError for Error { 86 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
|
/external/rust/crates/anyhow/tests/drop/ |
D | mod.rs | 3 use std::error::Error as StdError; 41 impl StdError for DetectDrop {}
|
/external/rust/crates/thiserror/tests/ |
D | test_source.rs | 3 use std::error::Error as StdError; 25 source: Box<dyn StdError + Send + 'static>,
|
/external/crosvm/aarch64/src/ |
D | lib.rs | 6 use std::error::Error as StdError; 127 CreateDevices(Box<dyn StdError>), 131 CreateIrqChip(Box<dyn StdError>), 136 CreateVm(Box<dyn StdError>), 244 E1: StdError + 'static, in build_vm() 245 E2: StdError + 'static, in build_vm()
|
/external/rust/crates/serde/src/ser/ |
D | mod.rs | 120 pub use std::error::Error as StdError; 123 pub use std_error::Error as StdError; 183 declare_error_trait!(Error: Sized + StdError);
|
/external/rust/crates/tinytemplate/src/ |
D | error.rs | 6 use std::error::Error as StdError; 109 impl StdError for Error {
|
/external/rust/crates/grpcio/src/security/ |
D | credentials.rs | 3 use std::error::Error as StdError; 79 fn fetch(&self) -> std::result::Result<Option<ServerCredentialsBuilder>, Box<dyn StdError>>; in fetch() argument
|
/external/crosvm/arch/src/ |
D | lib.rs | 11 use std::error::Error as StdError; 129 type Error: StdError; 170 E1: StdError + 'static, in build_vm() 171 E2: StdError + 'static; in build_vm()
|
/external/rust/crates/grpcio/src/ |
D | error.rs | 78 use std::error::Error as StdError;
|
/external/rust/crates/remain/ |
D | README.md | 76 + AaaUhOh(Box<dyn StdError>), 86 49 | AaaUhOh(Box<dyn StdError>),
|