pub struct PjsConfig {
pub compression: CompressionConfig,
pub parser: ParserConfig,
pub streaming: StreamingConfig,
pub simd: SimdConfig,
}
Expand description
Global configuration for PJS library components
Fields§
§compression: CompressionConfig
Configuration for compression algorithms
parser: ParserConfig
Configuration for parsers
streaming: StreamingConfig
Configuration for streaming
simd: SimdConfig
Configuration for SIMD operations
Implementations§
Source§impl PjsConfig
Configuration profiles for different use cases
impl PjsConfig
Configuration profiles for different use cases
Sourcepub fn low_latency() -> Self
pub fn low_latency() -> Self
Configuration optimized for low latency
Sourcepub fn high_throughput() -> Self
pub fn high_throughput() -> Self
Configuration optimized for high throughput
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PjsConfig
impl RefUnwindSafe for PjsConfig
impl Send for PjsConfig
impl Sync for PjsConfig
impl Unpin for PjsConfig
impl UnwindSafe for PjsConfig
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