Enum tiberius::TdsError [] [src]

pub enum TdsError {
    ProtocolError(TdsProtocolError),
    UnexpectedEOF,
    IoError(Error),
    ServerError(ServerError),
    Other(String),
    Conversion(Box<Error + Sync + Send>),
}

Variants

ProtocolError(TdsProtocolError)UnexpectedEOFIoError(Error)ServerError(ServerError)

An error returned by the SQL-server

Other(String)Conversion(Box<Error + Sync + Send>)

Trait Implementations

impl Debug for TdsError
[src]

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

Formats the value using the given formatter.

impl From<Error> for TdsError
[src]

fn from(err: Error) -> TdsError

Performs the conversion.

impl From<Cow<'static, str>> for TdsError
[src]

fn from(err: Cow<'static, str>) -> TdsError

Performs the conversion.

impl From<TdsProtocolError> for TdsError
[src]

fn from(err: TdsProtocolError) -> TdsError

Performs the conversion.