[][src]Struct rust_sgx_util::GroupId

pub struct GroupId(_);

Represents EPID group ID.

This structure is necessary to invoke IasHandle::get_sigrl function.

Creating GroupId

Currently, the only way to create an instance of GroupId, is from &str slice via the std::str::FromStr::from_str method. Note also that currently prepending "0x" to the string is invalid, and will result in Error::ParseInt(_) error.

use std::str::FromStr;
assert!(GroupId::from_str("0x01234567").is_err()); // prepending "0x" is currently invalid

Accessing the underlying bytes buffer

GroupId implements Deref<Target=[u8]>, therefore dereferencing it will yield its inner buffer of bytes.

Trait Implementations

impl Clone for GroupId[src]

impl Debug for GroupId[src]

impl Deref for GroupId[src]

type Target = [u8]

The resulting type after dereferencing.

impl Display for GroupId[src]

impl FromStr for GroupId[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

impl RefUnwindSafe for GroupId

impl Send for GroupId

impl Sync for GroupId

impl Unpin for GroupId

impl UnwindSafe for GroupId

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.