pub struct DigestSha256 { /* private fields */ }
Implementations§
Source§impl DigestSha256
impl DigestSha256
pub const fn new() -> Self
pub fn certificate() -> Certificate
Trait Implementations§
Source§impl Clone for DigestSha256
impl Clone for DigestSha256
Source§fn clone(&self) -> DigestSha256
fn clone(&self) -> DigestSha256
Returns a copy 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 DigestSha256
impl Debug for DigestSha256
Source§impl SignMethod for DigestSha256
impl SignMethod for DigestSha256
fn signature_type(&self) -> u64
fn next_seq_num(&mut self) -> u64
fn sign(&self, data: &[u8]) -> Bytes
fn certificate(&self) -> Option<Certificate>
fn time(&self) -> SignatureTime
Source§impl SignMethodType for DigestSha256
impl SignMethodType for DigestSha256
const SIGNATURE_TYPE: u64 = 0u64
Source§impl SignatureVerifier for DigestSha256
impl SignatureVerifier for DigestSha256
impl Copy for DigestSha256
Auto Trait Implementations§
impl Freeze for DigestSha256
impl RefUnwindSafe for DigestSha256
impl Send for DigestSha256
impl Sync for DigestSha256
impl Unpin for DigestSha256
impl UnwindSafe for DigestSha256
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