Enum yubihsm::object::Origin [] [src]

pub enum Origin {
    Generated,
    Imported,
    WrappedGenerated,
    WrappedImported,
}

Information about how a key was originally generated

Variants

Object was generated on the device

Object was imported from the host

Object was generated on a device, keywrapped, and reimported

Object was imported from host, keywrapped, and reimported

Methods

impl Origin
[src]

[src]

Convert an unsigned byte into a ObjectOrigin (if valid)

[src]

Serialize this object origin as a byte

Trait Implementations

impl Copy for Origin
[src]

impl Clone for Origin
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Origin
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Origin
[src]

impl PartialEq for Origin
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Serialize for Origin
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Origin

impl Sync for Origin