pub enum AttackType {
DDoS,
SqlInjection,
XSS,
CSRF,
Other(String),
}Expand description
Attack type enumeration
Variants§
Trait Implementations§
Source§impl Clone for AttackType
impl Clone for AttackType
Source§fn clone(&self) -> AttackType
fn clone(&self) -> AttackType
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 AttackType
impl RefUnwindSafe for AttackType
impl Send for AttackType
impl Sync for AttackType
impl Unpin for AttackType
impl UnsafeUnpin for AttackType
impl UnwindSafe for AttackType
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