Struct sgx_types::types::Measurement
source · [−]#[repr(C)]pub struct Measurement {
pub m: [u8; 32],
}
Fields
m: [u8; 32]
Trait Implementations
sourceimpl AsMut<[u8; 32]> for Measurement
impl AsMut<[u8; 32]> for Measurement
sourceimpl AsRef<[u8; 32]> for Measurement
impl AsRef<[u8; 32]> for Measurement
sourceimpl Clone for Measurement
impl Clone for Measurement
sourcefn clone(&self) -> Measurement
fn clone(&self) -> Measurement
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Measurement
impl Debug for Measurement
sourceimpl Default for Measurement
impl Default for Measurement
sourcefn default() -> Measurement
fn default() -> Measurement
Returns the “default value” for a type. Read more
sourceimpl From<&[u8; 32]> for Measurement
impl From<&[u8; 32]> for Measurement
sourcefn from(array: &[u8; 32]) -> Measurement
fn from(array: &[u8; 32]) -> Measurement
Converts to this type from the input type.
sourceimpl From<[u8; 32]> for Measurement
impl From<[u8; 32]> for Measurement
sourcefn from(array: [u8; 32]) -> Measurement
fn from(array: [u8; 32]) -> Measurement
Converts to this type from the input type.
sourceimpl PartialEq<Measurement> for Measurement
impl PartialEq<Measurement> for Measurement
sourcefn eq(&self, other: &Measurement) -> bool
fn eq(&self, other: &Measurement) -> bool
sourceimpl TryFrom<&[u8]> for Measurement
impl TryFrom<&[u8]> for Measurement
type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
sourcefn try_from(slice: &[u8]) -> Result<Measurement, Self::Error>
fn try_from(slice: &[u8]) -> Result<Measurement, Self::Error>
Performs the conversion.
impl BytewiseEquality for Measurement
impl ContiguousMemory for Measurement
impl Copy for Measurement
impl Eq for Measurement
impl StructuralEq for Measurement
impl StructuralPartialEq for Measurement
Auto Trait Implementations
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnwindSafe for Measurement
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more