pub struct HashAgile { /* private fields */ }Implementations§
Source§impl HashAgile
impl HashAgile
Sourcepub fn to_output<H: AssociatedHashingAlgorithm + OutputSizeUser>(
&self,
) -> Result<Output<H>>
pub fn to_output<H: AssociatedHashingAlgorithm + OutputSizeUser>( &self, ) -> Result<Output<H>>
Return the hash content of the HashAgile
§Errors
Return an error if the specified AssociatedHashingAlgorithm is not the
one in the HashAgile.
Source§impl HashAgile
impl HashAgile
Sourcepub fn hashing_algorithm(&self) -> HashingAlgorithm
pub fn hashing_algorithm(&self) -> HashingAlgorithm
Return the HashingAlgorithm of the HashAgile
Trait Implementations§
impl Eq for HashAgile
impl StructuralPartialEq for HashAgile
Auto Trait Implementations§
impl Freeze for HashAgile
impl RefUnwindSafe for HashAgile
impl Send for HashAgile
impl Sync for HashAgile
impl Unpin for HashAgile
impl UnsafeUnpin for HashAgile
impl UnwindSafe for HashAgile
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