Enum libyubihsm::DeviceOption [] [src]

pub enum DeviceOption {
    ForceAudit(DeviceOptionValue),
    CommandAudit(Vec<(CommandType, DeviceOptionValue)>),
}

A global option for the device. See Yubico's documentation for more.

Variants

Whether or not the device should refuse operations when the log store is full.

Used to toggle which specific commands should be logged. Accepts tuples of command and option value.

Trait Implementations

impl Clone for DeviceOption
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DeviceOption
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a DeviceOption> for u8
[src]

[src]

Performs the conversion.

impl From<DeviceOption> for u8
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for DeviceOption

impl Sync for DeviceOption