#[non_exhaustive]#[repr(u32)]pub enum DetectMdMode {
Disabled = 0,
Global = 1,
ThresholdGrid = 2,
RegionGrid = 3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AsRef<u32> for DetectMdMode
impl AsRef<u32> for DetectMdMode
Source§impl Clone for DetectMdMode
impl Clone for DetectMdMode
Source§fn clone(&self) -> DetectMdMode
fn clone(&self) -> DetectMdMode
Returns a copy 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 DetectMdMode
impl Debug for DetectMdMode
Source§impl Deref for DetectMdMode
impl Deref for DetectMdMode
Source§impl Display for DetectMdMode
impl Display for DetectMdMode
Source§impl From<DetectMdMode> for u32
impl From<DetectMdMode> for u32
Source§fn from(data: DetectMdMode) -> Self
fn from(data: DetectMdMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DetectMdMode
impl PartialEq for DetectMdMode
Source§impl TryFrom<u32> for DetectMdMode
impl TryFrom<u32> for DetectMdMode
impl Copy for DetectMdMode
impl Eq for DetectMdMode
impl StructuralPartialEq for DetectMdMode
Auto Trait Implementations§
impl Freeze for DetectMdMode
impl RefUnwindSafe for DetectMdMode
impl Send for DetectMdMode
impl Sync for DetectMdMode
impl Unpin for DetectMdMode
impl UnwindSafe for DetectMdMode
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