Lines Matching refs:Error
2 use thiserror::Error;
5 pub type Result<T> = std::result::Result<T, Error>;
7 #[derive(Error, Debug, PartialEq)]
9 pub enum Error { enum
87 Util(#[from] util::Error),
89 Rtcp(#[from] rtcp::Error),
91 AesGcm(#[from] aes_gcm::Error),
97 #[derive(Debug, Error)]
99 pub struct IoError(#[from] pub io::Error);
108 impl From<io::Error> for Error { implementation
109 fn from(e: io::Error) -> Self { in from()
110 Error::Io(IoError(e)) in from()
115 impl<T> From<MpscSendError<T>> for Error { implementation
117 Error::MpscSend(e.to_string()) in from()