pub enum SecurityError {
RateLimitExceeded {
current: u64,
limit: u64,
},
BatchTooLarge {
size: usize,
limit: usize,
},
TooManyActiveBatches {
active: usize,
limit: usize,
},
EventTooLarge {
size: usize,
limit: usize,
},
MemoryExhausted {
current: usize,
limit: usize,
},
CPUExhausted {
current: f32,
limit: f32,
},
GPUExhausted {
current: f32,
limit: f32,
},
GPUTimeout {
task_id: u64,
duration: Duration,
},
ResourceMonitoringFailed,
}Expand description
セキュリティエラー
Variants§
RateLimitExceeded
BatchTooLarge
TooManyActiveBatches
EventTooLarge
MemoryExhausted
CPUExhausted
GPUExhausted
GPUTimeout
ResourceMonitoringFailed
Trait Implementations§
Source§impl Clone for SecurityError
impl Clone for SecurityError
Source§fn clone(&self) -> SecurityError
fn clone(&self) -> SecurityError
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 moreAuto Trait Implementations§
impl Freeze for SecurityError
impl RefUnwindSafe for SecurityError
impl Send for SecurityError
impl Sync for SecurityError
impl Unpin for SecurityError
impl UnsafeUnpin for SecurityError
impl UnwindSafe for SecurityError
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