Searched refs:to_borrowed_error (Results 1 – 2 of 2) sorted by relevance
595 pub fn to_borrowed_error(&self) -> Option<&(dyn std::error::Error + 'static)> { in to_borrowed_error() method596 self.inner.to_borrowed_error() in to_borrowed_error()850 assert!(Value::capture_error(&err).to_borrowed_error().is_some()); in test_capture_error()851 assert!(Value::from_dyn_error(&err).to_borrowed_error().is_some()); in test_capture_error()
33 * Rename unstable `Value::to_error` to `Value::to_borrowed_error`.