pub struct PerformanceCharacteristics {
pub statements_per_second: u32,
pub memory_per_statement: u32,
pub startup_time_ms: u32,
pub async_support: bool,
}Expand description
Performance characteristics of a parser backend.
Fields§
§statements_per_second: u32Average parsing speed (statements per second).
memory_per_statement: u32Memory usage per statement (bytes).
startup_time_ms: u32Startup time (milliseconds).
async_support: boolSupports async parsing.
Trait Implementations§
Source§impl Clone for PerformanceCharacteristics
impl Clone for PerformanceCharacteristics
Source§fn clone(&self) -> PerformanceCharacteristics
fn clone(&self) -> PerformanceCharacteristics
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 PerformanceCharacteristics
impl Debug for PerformanceCharacteristics
Source§impl PartialEq for PerformanceCharacteristics
impl PartialEq for PerformanceCharacteristics
Source§fn eq(&self, other: &PerformanceCharacteristics) -> bool
fn eq(&self, other: &PerformanceCharacteristics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PerformanceCharacteristics
Auto Trait Implementations§
impl Freeze for PerformanceCharacteristics
impl RefUnwindSafe for PerformanceCharacteristics
impl Send for PerformanceCharacteristics
impl Sync for PerformanceCharacteristics
impl Unpin for PerformanceCharacteristics
impl UnsafeUnpin for PerformanceCharacteristics
impl UnwindSafe for PerformanceCharacteristics
Blanket Implementations§
impl<T> Allocation for T
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