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
204 Util(#[from] util::Error),
206 Stun(#[from] stun::Error),
210 Mdns(#[from] mdns::Error),
212 Turn(#[from] turn::Error),
218 #[derive(Debug, Error)]
220 pub struct IoError(#[from] pub io::Error);
229 impl From<io::Error> for Error { implementation
230 fn from(e: io::Error) -> Self { in from()
231 Error::Io(IoError(e)) in from()
235 impl From<SystemTimeError> for Error { implementation
237 Error::Other(e.to_string()) in from()