Lines Matching refs:Error
1 use thiserror::Error;
8 pub type Result<T> = std::result::Result<T, Error>;
10 #[derive(Debug, Error, PartialEq)]
12 pub enum Error { enum
162 Util(#[from] util::Error),
164 Stun(#[from] stun::Error),
169 #[derive(Debug, Error)]
171 pub struct IoError(#[from] pub io::Error);
180 impl From<io::Error> for Error { implementation
181 fn from(e: io::Error) -> Self { in from()
182 Error::Io(IoError(e)) in from()
186 impl From<SystemTimeError> for Error { implementation
188 Error::Other(e.to_string()) in from()