Struct optee_utee::uuid::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 TEE_UUID
pointer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Uuid
impl Send for Uuid
impl Sync for Uuid
impl Unpin for Uuid
impl UnwindSafe for Uuid
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more