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
Io(Error)
An error occurred during the attempt of performing I/O
Protocol(Cow<'static, str>)
An error occurred on the protocol level
Encoding(Cow<'static, str>)
Conversion(Cow<'static, str>)
Utf8(Utf8Error)
Utf16(FromUtf16Error)
ParseInt(ParseIntError)
Server(TokenError)
Canceled
Trait Implementations
impl From<Error> for TdsError
[src]
impl Debug for TdsError
[src]
impl From<Error> for TdsError
[src]
impl From<ParseIntError> for TdsError
[src]
fn from(err: ParseIntError) -> TdsError
[src]
Performs the conversion.
impl From<Utf8Error> for TdsError
[src]
impl From<FromUtf16Error> for TdsError
[src]
fn from(err: FromUtf16Error) -> TdsError
[src]
Performs the conversion.