Struct tss_esapi::structures::HmacScheme
source · [−]pub struct HmacScheme { /* private fields */ }Expand description
Struct for holding HMAC scheme.
Implementations
sourceimpl HmacScheme
impl HmacScheme
sourcepub const fn new(hashing_algorithm: HashingAlgorithm) -> HmacScheme
pub const fn new(hashing_algorithm: HashingAlgorithm) -> HmacScheme
Creates a new HmacScheme
Trait Implementations
sourceimpl Clone for HmacScheme
impl Clone for HmacScheme
sourcefn clone(&self) -> HmacScheme
fn clone(&self) -> HmacScheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for HmacScheme
impl Debug for HmacScheme
sourceimpl From<HashScheme> for HmacScheme
impl From<HashScheme> for HmacScheme
sourcefn from(hash_scheme: HashScheme) -> Self
fn from(hash_scheme: HashScheme) -> Self
Converts to this type from the input type.
sourceimpl From<HmacScheme> for HashScheme
impl From<HmacScheme> for HashScheme
sourcefn from(hmac_scheme: HmacScheme) -> Self
fn from(hmac_scheme: HmacScheme) -> Self
Converts to this type from the input type.
sourceimpl From<HmacScheme> for TPMS_SCHEME_HMAC
impl From<HmacScheme> for TPMS_SCHEME_HMAC
sourcefn from(hash_scheme: HmacScheme) -> Self
fn from(hash_scheme: HmacScheme) -> Self
Converts to this type from the input type.
sourceimpl Hash for HmacScheme
impl Hash for HmacScheme
sourceimpl PartialEq<HmacScheme> for HmacScheme
impl PartialEq<HmacScheme> for HmacScheme
sourcefn eq(&self, other: &HmacScheme) -> bool
fn eq(&self, other: &HmacScheme) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &HmacScheme) -> bool
fn ne(&self, other: &HmacScheme) -> bool
This method tests for !=.
sourceimpl TryFrom<TPMS_SCHEME_HASH> for HmacScheme
impl TryFrom<TPMS_SCHEME_HASH> for HmacScheme
impl Copy for HmacScheme
impl Eq for HmacScheme
impl StructuralEq for HmacScheme
impl StructuralPartialEq for HmacScheme
Auto Trait Implementations
impl RefUnwindSafe for HmacScheme
impl Send for HmacScheme
impl Sync for HmacScheme
impl Unpin for HmacScheme
impl UnwindSafe for HmacScheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more