Lines Matching refs:context
113 fn context<C>(self, context: C) -> Result<T, Error> in context() method
132 fn context<C>(self, context: C) -> Result<T> in context() function
138 Err(e) => Err(Error::new(e).context(context)), in context()
150 Err(e) => Err(Error::new(e).context(f())), in with_context()
156 fn context<C>(self, context: C) -> Result<T, Error> in context() method
162 Err(e) => Err(e.context(context)), in context()
173 Err(e) => Err(e.context(f())), in with_context()
179 fn context<C>(self, context: C) -> Result<T> in context() method
186 context, in context()
200 context: f(), in with_context()
215 pub(crate) context: C, field
234 self.context.fmt(f) in fmt()
280 to.cast::<C>().write(self.context); in ext_move()
292 Some(error) => anyhow::Error::from(error).context(self.context), in ext_into_anyhow()