Lines Matching refs:Error
1 use thiserror::Error;
7 pub type Result<T> = std::result::Result<T, Error>;
9 #[derive(Debug, Error, PartialEq)]
11 pub enum Error { enum
73 Util(#[from] util::Error),
76 #[derive(Debug, Error)]
78 pub struct IoError(#[from] pub io::Error);
87 impl From<io::Error> for Error { implementation
88 fn from(e: io::Error) -> Self { in from()
89 Error::Io(IoError(e)) in from()
94 impl<T> From<MpscSendError<T>> for Error { implementation
96 Error::MpscSend(e.to_string()) in from()