pub struct CheckSigHashDomain;Expand description
A hashing domain instance
Trait Implementations§
Source§impl Clone for CheckSigHashDomain
impl Clone for CheckSigHashDomain
Source§fn clone(&self) -> CheckSigHashDomain
fn clone(&self) -> CheckSigHashDomain
Returns a duplicate of the value. Read more
1.0.0 · 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 CheckSigHashDomain
impl Debug for CheckSigHashDomain
Source§impl DomainSeparation for CheckSigHashDomain
impl DomainSeparation for CheckSigHashDomain
Source§fn domain() -> &'static str
fn domain() -> &'static str
Returns the category label for the metadata tag. For example,
tari_hmacSource§fn domain_separation_tag<S>(label: S) -> String
fn domain_separation_tag<S>(label: S) -> String
The domain separation tag is defined as
{domain}.v{version}.{label}, where the version and tag are
typically hard-coded into the implementing type, and the label is provided per specific application of the
domainSource§fn add_domain_separation_tag<S, D>(digest: &mut D, label: S)
fn add_domain_separation_tag<S, D>(digest: &mut D, label: S)
Adds the domain separation tag to the given digest. The domain separation tag is defined as
{domain}.v{version}.{label}, where the version and tag are typically hard-coded into the implementing
type, and the label is provided per specific application of the domain.Source§impl Hash for CheckSigHashDomain
impl Hash for CheckSigHashDomain
Source§impl Ord for CheckSigHashDomain
impl Ord for CheckSigHashDomain
Source§fn cmp(&self, other: &CheckSigHashDomain) -> Ordering
fn cmp(&self, other: &CheckSigHashDomain) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CheckSigHashDomain
impl PartialEq for CheckSigHashDomain
Source§impl PartialOrd for CheckSigHashDomain
impl PartialOrd for CheckSigHashDomain
impl Copy for CheckSigHashDomain
impl Eq for CheckSigHashDomain
impl StructuralPartialEq for CheckSigHashDomain
Auto Trait Implementations§
impl Freeze for CheckSigHashDomain
impl RefUnwindSafe for CheckSigHashDomain
impl Send for CheckSigHashDomain
impl Sync for CheckSigHashDomain
impl Unpin for CheckSigHashDomain
impl UnwindSafe for CheckSigHashDomain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more