pub struct SimdZeroCopyConfig {
pub max_depth: usize,
pub enable_simd: bool,
pub buffer_pool_config: Option<PoolConfig>,
pub simd_threshold: usize,
pub track_memory_usage: bool,
}Expand description
Configuration for SIMD zero-copy parser
Fields§
§max_depth: usizeMaximum nesting depth for safety
enable_simd: boolEnable SIMD acceleration when available
buffer_pool_config: Option<PoolConfig>Buffer pool configuration
simd_threshold: usizeMinimum size for SIMD processing
track_memory_usage: boolEnable memory usage tracking
Implementations§
Source§impl SimdZeroCopyConfig
impl SimdZeroCopyConfig
Sourcepub fn high_performance() -> Self
pub fn high_performance() -> Self
Configuration optimized for maximum performance
Sourcepub fn low_memory() -> Self
pub fn low_memory() -> Self
Configuration for memory-constrained environments
Trait Implementations§
Source§impl Clone for SimdZeroCopyConfig
impl Clone for SimdZeroCopyConfig
Source§fn clone(&self) -> SimdZeroCopyConfig
fn clone(&self) -> SimdZeroCopyConfig
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 SimdZeroCopyConfig
impl Debug for SimdZeroCopyConfig
Auto Trait Implementations§
impl Freeze for SimdZeroCopyConfig
impl RefUnwindSafe for SimdZeroCopyConfig
impl Send for SimdZeroCopyConfig
impl Sync for SimdZeroCopyConfig
impl Unpin for SimdZeroCopyConfig
impl UnwindSafe for SimdZeroCopyConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more