pub enum DriverCapability {
Connect,
Transactions,
Pooling,
Migrations,
Other,
}Expand description
Driver capability metadata.
Variants§
Connect
Connection capability.
Transactions
Transaction capability.
Pooling
Pooling capability.
Migrations
Migration capability.
Other
Other or unspecified capability.
Trait Implementations§
Source§impl Clone for DriverCapability
impl Clone for DriverCapability
Source§fn clone(&self) -> DriverCapability
fn clone(&self) -> DriverCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DriverCapability
impl Debug for DriverCapability
Source§impl Default for DriverCapability
impl Default for DriverCapability
Source§fn default() -> DriverCapability
fn default() -> DriverCapability
Returns the “default value” for a type. Read more
Source§impl Hash for DriverCapability
impl Hash for DriverCapability
Source§impl Ord for DriverCapability
impl Ord for DriverCapability
Source§fn cmp(&self, other: &DriverCapability) -> Ordering
fn cmp(&self, other: &DriverCapability) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DriverCapability
impl PartialEq for DriverCapability
Source§fn eq(&self, other: &DriverCapability) -> bool
fn eq(&self, other: &DriverCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DriverCapability
impl PartialOrd for DriverCapability
impl Copy for DriverCapability
impl Eq for DriverCapability
impl StructuralPartialEq for DriverCapability
Auto Trait Implementations§
impl Freeze for DriverCapability
impl RefUnwindSafe for DriverCapability
impl Send for DriverCapability
impl Sync for DriverCapability
impl Unpin for DriverCapability
impl UnsafeUnpin for DriverCapability
impl UnwindSafe for DriverCapability
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