pub enum WorkloadType {
Web,
Mixed,
DataWarehouse,
Oltp,
}Expand description
Workload types for auto-tuning
Variants§
Web
Web application (moderate connections, OLTP + read-heavy)
Mixed
Mixed workload (OLTP + analytics)
DataWarehouse
Data warehouse (complex queries, fewer connections)
Oltp
High-throughput OLTP (many connections, simple queries)
Trait Implementations§
Source§impl Clone for WorkloadType
impl Clone for WorkloadType
Source§fn clone(&self) -> WorkloadType
fn clone(&self) -> WorkloadType
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 moreimpl Copy for WorkloadType
Source§impl Debug for WorkloadType
impl Debug for WorkloadType
impl Eq for WorkloadType
Source§impl PartialEq for WorkloadType
impl PartialEq for WorkloadType
Source§fn eq(&self, other: &WorkloadType) -> bool
fn eq(&self, other: &WorkloadType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkloadType
Auto Trait Implementations§
impl Freeze for WorkloadType
impl RefUnwindSafe for WorkloadType
impl Send for WorkloadType
impl Sync for WorkloadType
impl Unpin for WorkloadType
impl UnsafeUnpin for WorkloadType
impl UnwindSafe for WorkloadType
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