IntegerRepr

Trait IntegerRepr 

Source
pub trait IntegerRepr: Copy {
    type Wrapper: TpmSized + TpmMarshal + TpmUnmarshal + From<Self> + Into<Self>;
}
Expand description

Associates primitive integer types with their TPM wrapper counterparts.

Required Associated Types§

Source

type Wrapper: TpmSized + TpmMarshal + TpmUnmarshal + From<Self> + Into<Self>

The wrapper type used for marshaling and unmarshaling.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IntegerRepr for i8

Source§

impl IntegerRepr for i32

Source§

impl IntegerRepr for u8

Source§

impl IntegerRepr for u16

Source§

impl IntegerRepr for u32

Source§

impl IntegerRepr for u64

Implementors§