pub struct FeatureSet { /* private fields */ }Expand description
Backend feature flags exposed by the provider.
Implementations§
Source§impl FeatureSet
impl FeatureSet
pub const PREPARE_V3: FeatureSet
pub const CREATE_FUNCTION_V2: FeatureSet
pub const VIRTUAL_TABLES: FeatureSet
pub const EXTENDED_ERRCODES: FeatureSet
pub const WINDOW_FUNCTIONS: FeatureSet
pub const KEYING: FeatureSet
pub const fn empty() -> Self
pub const fn from_bits(bits: u64) -> Self
pub const fn bits(self) -> u64
pub const fn contains(self, other: FeatureSet) -> bool
Trait Implementations§
Source§impl BitAnd for FeatureSet
impl BitAnd for FeatureSet
Source§type Output = FeatureSet
type Output = FeatureSet
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: FeatureSet) -> FeatureSet
fn bitand(self, rhs: FeatureSet) -> FeatureSet
Performs the
& operation. Read moreSource§impl BitAndAssign for FeatureSet
impl BitAndAssign for FeatureSet
Source§fn bitand_assign(&mut self, rhs: FeatureSet)
fn bitand_assign(&mut self, rhs: FeatureSet)
Performs the
&= operation. Read moreSource§impl BitOr for FeatureSet
impl BitOr for FeatureSet
Source§type Output = FeatureSet
type Output = FeatureSet
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: FeatureSet) -> FeatureSet
fn bitor(self, rhs: FeatureSet) -> FeatureSet
Performs the
| operation. Read moreSource§impl BitOrAssign for FeatureSet
impl BitOrAssign for FeatureSet
Source§fn bitor_assign(&mut self, rhs: FeatureSet)
fn bitor_assign(&mut self, rhs: FeatureSet)
Performs the
|= operation. Read moreSource§impl Clone for FeatureSet
impl Clone for FeatureSet
Source§fn clone(&self) -> FeatureSet
fn clone(&self) -> FeatureSet
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 FeatureSet
impl Debug for FeatureSet
Source§impl Not for FeatureSet
impl Not for FeatureSet
Source§type Output = FeatureSet
type Output = FeatureSet
The resulting type after applying the
! operator.Source§fn not(self) -> FeatureSet
fn not(self) -> FeatureSet
Performs the unary
! operation. Read moreSource§impl PartialEq for FeatureSet
impl PartialEq for FeatureSet
impl Copy for FeatureSet
impl Eq for FeatureSet
impl StructuralPartialEq for FeatureSet
Auto Trait Implementations§
impl Freeze for FeatureSet
impl RefUnwindSafe for FeatureSet
impl Send for FeatureSet
impl Sync for FeatureSet
impl Unpin for FeatureSet
impl UnsafeUnpin for FeatureSet
impl UnwindSafe for FeatureSet
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