pub enum MeasurementType {
Sha256,
Sha384,
Sha512,
}Expand description
Represents hash algorithm used for calculating measurement value.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MeasurementType
impl Clone for MeasurementType
Source§fn clone(&self) -> MeasurementType
fn clone(&self) -> MeasurementType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeasurementType
impl Debug for MeasurementType
Source§impl Default for MeasurementType
impl Default for MeasurementType
Source§impl Into<String> for MeasurementType
impl Into<String> for MeasurementType
Source§impl PartialEq for MeasurementType
impl PartialEq for MeasurementType
Source§fn eq(&self, other: &MeasurementType) -> bool
fn eq(&self, other: &MeasurementType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u16> for MeasurementType
impl TryFrom<u16> for MeasurementType
impl Copy for MeasurementType
impl StructuralPartialEq for MeasurementType
Auto Trait Implementations§
impl Freeze for MeasurementType
impl RefUnwindSafe for MeasurementType
impl Send for MeasurementType
impl Sync for MeasurementType
impl Unpin for MeasurementType
impl UnsafeUnpin for MeasurementType
impl UnwindSafe for MeasurementType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more