Lines Matching refs:Error
1 use thiserror::Error;
3 pub type Result<T> = std::result::Result<T, Error>;
5 #[derive(Error, Debug, PartialEq)]
7 pub enum Error { enum
59 Util(#[from] util::Error),
65 impl From<Error> for util::Error { implementation
66 fn from(e: Error) -> Self { in from()
67 util::Error::from_std(e) in from()
71 impl PartialEq<util::Error> for Error { implementation
72 fn eq(&self, other: &util::Error) -> bool { in eq()
73 if let Some(down) = other.downcast_ref::<Error>() { in eq()