Enum tiberius::TdsError [] [src]

pub enum TdsError {
    Io(Error),
    Protocol(Cow<'static, str>),
    Encoding(Cow<'static, str>),
    Conversion(Cow<'static, str>),
    Utf8(Utf8Error),
    Utf16(FromUtf16Error),
    ParseInt(ParseIntError),
    Server(TokenError),
    Canceled,
}

A unified error enum that contains several errors that might occurr during the lifecycle of this driver

Variants

An error occurred during the attempt of performing I/O

An error occurred on the protocol level

Trait Implementations

impl From<Error> for TdsError
[src]

[src]

Performs the conversion.

impl Debug for TdsError
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for TdsError
[src]

[src]

Performs the conversion.

impl From<ParseIntError> for TdsError
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for TdsError
[src]

[src]

Performs the conversion.

impl From<FromUtf16Error> for TdsError
[src]

[src]

Performs the conversion.