Enum uosql::Error
[−]
[src]
pub enum Error { AddrParse(AddrParseError), Io(Error), UnexpectedPkg, Encode(EncodingError), Decode(DecodingError), Auth, Server(ClientErrMsg), }
Client specific Error definition.
Variants
AddrParse | |
Io | |
UnexpectedPkg | |
Encode | |
Decode | |
Auth | |
Server |
Trait Implementations
impl Display for Error
Implement display for description of Error
impl Error for Error
Implement description for this Error enum
fn description(&self) -> &str
fn cause(&self) -> Option<&Error>
impl From<Error> for Error
Implement the conversion from io::Error to Connection-Error
impl From<AddrParseError> for Error
Implement the conversion from AddrParseError to Connection-Error
fn from(err: AddrParseError) -> Error
impl From<EncodingError> for Error
Implement the conversion from EncodingError to NetworkError
fn from(err: EncodingError) -> Error
impl From<DecodingError> for Error
Implement the conversion from DecodingError to NetworkError
fn from(err: DecodingError) -> Error
impl From<ClientErrMsg> for Error
Implement the conversion from ClientErrMsg to NetworkError