pub enum SecurityAnomaly {
EventBurst {
event_count: usize,
time_window: Duration,
},
RepeatedInvalidInput {
source: String,
attempt_count: u32,
},
UnusualAccessPattern {
pattern_description: String,
confidence: f32,
},
}Expand description
Security anomalies detected by the monitor
Variants§
EventBurst
Burst of security events in short time
RepeatedInvalidInput
Repeated invalid input from same source
UnusualAccessPattern
Unusual access pattern detected
Trait Implementations§
Source§impl Clone for SecurityAnomaly
impl Clone for SecurityAnomaly
Source§fn clone(&self) -> SecurityAnomaly
fn clone(&self) -> SecurityAnomaly
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 SecurityAnomaly
impl RefUnwindSafe for SecurityAnomaly
impl Send for SecurityAnomaly
impl Sync for SecurityAnomaly
impl Unpin for SecurityAnomaly
impl UnsafeUnpin for SecurityAnomaly
impl UnwindSafe for SecurityAnomaly
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> 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