pub struct SecurityConfig {
pub max_event_size: usize,
pub max_batch_size: usize,
pub max_concurrent_batches: usize,
pub gpu_timeout_ms: u64,
pub rate_limit_per_second: u64,
pub max_memory_usage: usize,
pub max_cpu_usage: f32,
pub max_gpu_usage: f32,
}Expand description
セキュリティ設定
Fields§
§max_event_size: usize最大イベントサイズ(バイト)
max_batch_size: usize最大バッチサイズ(イベント数)
max_concurrent_batches: usize最大同時バッチ数
gpu_timeout_ms: u64GPUタイムアウト(ミリ秒)
rate_limit_per_second: u64レート制限(events/sec)
max_memory_usage: usizeメモリ使用量制限(バイト)
max_cpu_usage: f32CPU使用率制限(パーセント)
max_gpu_usage: f32GPU使用率制限(パーセント)
Trait Implementations§
Source§impl Clone for SecurityConfig
impl Clone for SecurityConfig
Source§fn clone(&self) -> SecurityConfig
fn clone(&self) -> SecurityConfig
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 SecurityConfig
impl Debug for SecurityConfig
Auto Trait Implementations§
impl Freeze for SecurityConfig
impl RefUnwindSafe for SecurityConfig
impl Send for SecurityConfig
impl Sync for SecurityConfig
impl Unpin for SecurityConfig
impl UnwindSafe for SecurityConfig
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