Enum yubihsm::AuditOption[][src]

#[repr(u8)]
pub enum AuditOption { Off, On, Fix, }

Auditing policy options

Variants

Audit logging disabled

Audit logging enabled

Audit logging permanently enabled; not possible to turn off

Methods

impl AuditOption
[src]

Convert an unsigned byte into a ObjectType (if valid)

Serialize this object type as a byte

Trait Implementations

impl Copy for AuditOption
[src]

impl Clone for AuditOption
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AuditOption
[src]

Formats the value using the given formatter. Read more

impl Eq for AuditOption
[src]

impl PartialEq for AuditOption
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for AuditOption
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for AuditOption
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for AuditOption
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for AuditOption

impl Sync for AuditOption