Searched refs:ContextError (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/anyhow/src/ |
D | error.rs | 169 let error: ContextError<C, E> = ContextError { context, error }; in from_context() 172 object_drop: object_drop::<ContextError<C, E>>, in from_context() 173 object_ref: object_ref::<ContextError<C, E>>, in from_context() 175 object_mut: object_mut::<ContextError<C, E>>, in from_context() 176 object_boxed: object_boxed::<ContextError<C, E>>, in from_context() 305 let error: ContextError<C, Error> = ContextError { in context() 311 object_drop: object_drop::<ContextError<C, Error>>, in context() 312 object_ref: object_ref::<ContextError<C, Error>>, in context() 314 object_mut: object_mut::<ContextError<C, Error>>, in context() 315 object_boxed: object_boxed::<ContextError<C, Error>>, in context() [all …]
|
D | context.rs | 1 use crate::error::ContextError; 115 impl<C, E> Debug for ContextError<C, E> implementation 128 impl<C, E> Display for ContextError<C, E> implementation 137 impl<C, E> StdError for ContextError<C, E> implementation 152 impl<C> StdError for ContextError<C, Error> implementation
|
/external/autotest/client/cros/networking/ |
D | shill_context.py | 17 class ContextError(Exception): class 130 raise ContextError('Could not obtain a service object.') 170 raise ContextError('Could not obtain a service object.')
|
/external/rust/crates/nom/src/ |
D | error.rs | 39 pub trait ContextError<I>: Sized { interface 82 impl<I> ContextError<I> for Error<I> {} 113 impl<I> ContextError<I> for (I, ErrorKind) {} impl 127 impl<I> ContextError<I> for () {} impl 193 impl<I> ContextError<I> for VerboseError<I> { 233 pub fn context<I: Clone, E: ContextError<I>, F, O>( in context()
|
/external/rust/crates/nom/tests/ |
D | issues.rs | 160 use nom::error::{ContextError, ParseError}; in issue_942() 161 pub fn parser<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in issue_942()
|
/external/rust/crates/nom/ |
D | CHANGELOG.md | 318 `ContextError` for the `context` combinator, and `FromExternalError` for `map_res`. 336 …combinator is not linked to `ParseError` anymore, instead it come with its own `ContextError` trait
|