Enum libpijul_compat::HashRef
source · pub enum HashRef<'a> {
None,
Sha512(&'a [u8]),
}
Expand description
A borrowed version of Hash
.
Variants§
Implementations§
Trait Implementations§
source§impl<'a> Ord for HashRef<'a>
impl<'a> Ord for HashRef<'a>
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<'a> PartialEq<HashRef<'a>> for HashRef<'a>
impl<'a> PartialEq<HashRef<'a>> for HashRef<'a>
source§impl<'a> PartialOrd<HashRef<'a>> for HashRef<'a>
impl<'a> PartialOrd<HashRef<'a>> for HashRef<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more