Struct yubihsm::object::Label [] [src]

pub struct Label(pub [u8; 40]);

Labels attached to objects

Methods

impl Label
[src]

[src]

Create a new label from a slice, returning an error if it's over 40-bytes

[src]

Create a string representation of this label

Trait Implementations

impl AsRef<[u8]> for Label
[src]

Important traits for &'a mut [u8]
[src]

Performs the conversion.

impl Clone for Label
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Label
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for Label
[src]

[src]

Performs the conversion.

impl PartialEq for Label
[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 Deref for Label
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for Label
[src]

[src]

Mutably dereferences the value.

impl Serialize for Label
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Label

impl Sync for Label