Struct optee_teec::Uuid [−][src]
pub struct Uuid { /* fields omitted */ }
Expand description
A Universally Unique Resource Identifier (UUID) type as defined in RFC4122. The value is used to identify a trusted application.
Implementations
Parses a Uuid from a string of hexadecimal digits with optional hyphens.
Examples
let uuid = Uuid::parse_str("8abcf200-2450-11e4-abe2-0002a5d5c51b").unwrap();
Creates a Uuid
using the supplied big-endian bytes.
Examples
let bytes: [u8; 16] = [70, 235, 208, 238, 14, 109, 67, 201, 185, 13, 204, 195, 90, 145, 63, 62,];
let uuid = Uuid::from_bytes(bytes);
Creates a Uuid
using a slice of supplied big-endian bytes.
Examples
let bytes: &[u8; 16] = &[70, 235, 208, 238, 14, 109, 67, 201, 185, 13, 204, 195, 90, 145, 63, 62,];
let uuid = Uuid::from_slice(bytes);
Crates a raw TEE client uuid object with specified parameters.
Converts a uuid to a const raw TEEC_UUID
pointer.