Enum rift::Error
[−]
[src]
pub enum Error { Transport(TransportError), Protocol(ProtocolError), Application(ApplicationError), User(Box<Error + Sync + Send>), }
Variants
Transport(TransportError)
Protocol(ProtocolError)
Application(ApplicationError)
User(Box<Error + Sync + Send>)
Methods
impl Error
[src]
fn read_application_error_from_in_protocol(i: &mut TInputProtocol)
-> Result<ApplicationError>
-> Result<ApplicationError>
fn write_application_error_to_out_protocol(e: &ApplicationError,
o: &mut TOutputProtocol)
-> Result<()>
o: &mut TOutputProtocol)
-> Result<()>
Trait Implementations
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl Debug for Error
[src]
impl Display for Error
[src]
impl From<String> for Error
[src]
impl<'a> From<&'a str> for Error
[src]
impl From<Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Self
Performs the conversion.