pub enum SqlServerError {
Tiberius(Error),
Io(Error),
Pool(PoolError<Error>),
PoolBuild(BuildError),
}
Expand description
Error type represents error from building pool, running pool, tiberius execution, io.
Variants§
Tiberius(Error)
Error caused by tiberius execution.
Io(Error)
Error caused by io.
Pool(PoolError<Error>)
Error from PoolError
.
PoolBuild(BuildError)
Error from when building pool.
Trait Implementations§
source§impl Debug for SqlServerError
impl Debug for SqlServerError
source§impl Display for SqlServerError
impl Display for SqlServerError
source§impl Error for SqlServerError
impl Error for SqlServerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<BuildError> for SqlServerError
impl From<BuildError> for SqlServerError
source§fn from(source: BuildError) -> Self
fn from(source: BuildError) -> Self
Converts to this type from the input type.
source§impl From<Error> for SqlServerError
impl From<Error> for SqlServerError
source§impl From<Error> for SqlServerError
impl From<Error> for SqlServerError
Auto Trait Implementations§
impl Freeze for SqlServerError
impl !RefUnwindSafe for SqlServerError
impl Send for SqlServerError
impl Sync for SqlServerError
impl Unpin for SqlServerError
impl !UnwindSafe for SqlServerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more