pub enum AshMode {
Minimal,
Balanced,
Strict,
}Expand description
Security mode for ASH verification.
Different modes provide different levels of security and overhead.
Variants§
Minimal
Lightweight integrity check. Lowest overhead, basic protection.
Balanced
Default recommended mode. Good balance between security and performance.
Strict
Highest security level. Field-level integrity, strongest protection.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AshMode
impl<'de> Deserialize<'de> for AshMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for AshMode
impl Eq for AshMode
impl StructuralPartialEq for AshMode
Auto Trait Implementations§
impl Freeze for AshMode
impl RefUnwindSafe for AshMode
impl Send for AshMode
impl Sync for AshMode
impl Unpin for AshMode
impl UnsafeUnpin for AshMode
impl UnwindSafe for AshMode
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