Enum yubihsm::audit::AuditOption
source · [−]#[repr(u8)]
pub enum AuditOption {
Off,
On,
Fix,
}
Expand description
Auditing policy options
Variants
Off
Audit logging disabled
On
Audit logging enabled
Fix
Audit logging permanently enabled; not possible to turn off
Implementations
Trait Implementations
sourceimpl Clone for AuditOption
impl Clone for AuditOption
sourcefn clone(&self) -> AuditOption
fn clone(&self) -> AuditOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuditOption
impl Debug for AuditOption
sourceimpl<'de> Deserialize<'de> for AuditOption
impl<'de> Deserialize<'de> for AuditOption
sourcefn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<AuditOption, D::Error>
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<AuditOption, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for AuditOption
impl Hash for AuditOption
sourceimpl PartialEq<AuditOption> for AuditOption
impl PartialEq<AuditOption> for AuditOption
sourceimpl Serialize for AuditOption
impl Serialize for AuditOption
impl Copy for AuditOption
impl Eq for AuditOption
impl StructuralEq for AuditOption
impl StructuralPartialEq for AuditOption
Auto Trait Implementations
impl RefUnwindSafe for AuditOption
impl Send for AuditOption
impl Sync for AuditOption
impl Unpin for AuditOption
impl UnwindSafe for AuditOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more