Enum tiberius::error::Error [−][src]
A unified error enum that contains several errors that might occurr during the lifecycle of this driver
Variants
An error occured when performing I/O to the server.
Fields of Io
kind: IoErrorKind
A list specifying general categories of I/O error.
message: String
The error description.
An error happened during the request or response parsing.
Server responded with encoding not supported.
Conversion failure from one type to another.
Tried to convert data to UTF-8 that was not valid.
Tried to convert data to UTF-16 that was not valid.
ParseInt(ParseIntError)
Tried to parse an integer that was not an integer.
Server(TokenError)
An error returned by the server.
Tls(String)
An error in the TLS handshake.
Gssapi(String)
integrated-auth-gssapi
only.An error from the GSSAPI library.
Server requested a connection to an alternative address.
Trait Implementations
impl Clone for Error
[src]
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
integrated-auth-gssapi
only.impl From<FromUtf16Error> for Error
[src]
fn from(_err: FromUtf16Error) -> Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(_err: FromUtf8Error) -> Error
[src]
impl From<Infallible> for Error
[src]
fn from(_: Infallible) -> Self
[src]
impl From<ParseIntError> for Error
[src]
fn from(err: ParseIntError) -> Error
[src]
impl From<Utf8Error> for Error
[src]
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,