pub struct HashChoice<H: Digest + Clone>(/* private fields */);Expand description
Zero-sized marker type denoting choice of hash function
Implementations§
Trait Implementations§
Source§impl<H: Digest + Clone> Ord for HashChoice<H>
impl<H: Digest + Clone> Ord for HashChoice<H>
Source§impl<H: Digest + Clone> PartialOrd for HashChoice<H>
impl<H: Digest + Clone> PartialOrd for HashChoice<H>
impl<H: Digest + Clone> Eq for HashChoice<H>
Auto Trait Implementations§
impl<H> Freeze for HashChoice<H>
impl<H> RefUnwindSafe for HashChoice<H>
impl<H> Send for HashChoice<H>
impl<H> Sync for HashChoice<H>
impl<H> Unpin for HashChoice<H>
impl<H> UnwindSafe for HashChoice<H>
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