#[non_exhaustive]pub enum ConnectionException {
SqlClientUnableToEstablishSqlConnection,
ConnectionNameInUse,
ConnectionDoesNotExist,
SqlServerRejectedEstablishmentOfSqlConnection,
ConnectionFailure,
TransactionResolutionUnknown,
Other(String),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SqlClientUnableToEstablishSqlConnection
ConnectionNameInUse
ConnectionDoesNotExist
SqlServerRejectedEstablishmentOfSqlConnection
ConnectionFailure
TransactionResolutionUnknown
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionException
impl Clone for ConnectionException
Source§fn clone(&self) -> ConnectionException
fn clone(&self) -> ConnectionException
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConnectionException
impl Debug for ConnectionException
Source§impl FromStr for ConnectionException
impl FromStr for ConnectionException
Source§impl Hash for ConnectionException
impl Hash for ConnectionException
Source§impl PartialEq for ConnectionException
impl PartialEq for ConnectionException
impl Eq for ConnectionException
impl StructuralPartialEq for ConnectionException
Auto Trait Implementations§
impl Freeze for ConnectionException
impl RefUnwindSafe for ConnectionException
impl Send for ConnectionException
impl Sync for ConnectionException
impl Unpin for ConnectionException
impl UnwindSafe for ConnectionException
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