std::error::Error
pub trait Error: Debug + Display
- Kind
- trait
- Module
std::error- Since
- 1.0.0
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::error in the Rust reference. This page has 24 cards.
pub trait Error: Debug + Display
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn cause(&self) -> Option<&dyn Error>
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn description(&self) -> &str
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn downcast<T>(self: Box<dyn Error>) -> Result<Box<T>, Box<dyn Error>> where T: Error + 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn downcast_mut<T>(&mut self) -> Option<&mut T> where T: Error + 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn downcast_ref<T>(&self) -> Option<&T> where T: Error + 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn from(err: &str) -> Box<dyn Error + Sync + Send + 'a>
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is<T>(&self) -> bool where T: Error + 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn provide<'a>(&'a self, request: &mut Request<'a>)
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn source(&self) -> Option<&(dyn Error + 'static)>
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn sources(&self) -> Source<'_>
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Report<E = Box<dyn Error>>
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn new(error: E) -> Report<E>
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn pretty(self, pretty: bool) -> Self
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn show_backtrace(self, show_backtrace: bool) -> Self
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Request<'a>(/* private fields */)
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn provide_ref<T>(&mut self, value: &'a T) -> &mut Request<'a> where T: 'static + ?Sized
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn provide_ref_with<T>( &mut self, fulfil: impl FnOnce() -> &'a T, ) -> &mut Request<'a> where T: 'static + ?Sized
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn provide_value<T>(&mut self, value: T) -> &mut Request<'a> where T: 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn provide_value_with<T>( &mut self, fulfil: impl FnOnce() -> T, ) -> &mut Request<'a> where T: 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn would_be_satisfied_by_ref_of<T>(&self) -> bool where T: 'static + ?Sized
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn would_be_satisfied_by_value_of<T>(&self) -> bool where T: 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn request_ref<'a, T>(err: &'a (impl Error + ?Sized)) -> Option<&'a T> where T: 'static + ?Sized
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn request_value<'a, T>(err: &'a (impl Error + ?Sized)) -> Option<T> where T: 'static
std::errorSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.