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

fn fmt(&self, f: &mut Formatter) -> Result

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

fn from(err: Error) -> 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

fn from(err: ClientErrMsg) -> Error

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result