pub struct SignAndHashAlgo {
pub sign: SignatureAlgo,
pub hash: HashAlgo,
}Expand description
A pair of signature algorithm and a hash algorithm
Fields§
§sign: SignatureAlgoSignature algorithm
hash: HashAlgoHash algorithm
Trait Implementations§
Source§impl Debug for SignAndHashAlgo
impl Debug for SignAndHashAlgo
Auto Trait Implementations§
impl Freeze for SignAndHashAlgo
impl RefUnwindSafe for SignAndHashAlgo
impl Send for SignAndHashAlgo
impl Sync for SignAndHashAlgo
impl Unpin for SignAndHashAlgo
impl UnwindSafe for SignAndHashAlgo
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