pub struct Sha256Digest(/* private fields */);
Implementations§
Source§impl Sha256Digest
impl Sha256Digest
pub fn from_le_bytes(bytes: impl AsRef<[u8]>) -> Result<Self, ParseBigIntError>
pub fn from_be_bytes(bytes: impl AsRef<[u8]>) -> Result<Self, ParseBigIntError>
pub fn bit_len(&self) -> usize
pub fn to_le_bytes(&self) -> Vec<u8> ⓘ
pub fn to_be_bytes(&self) -> Vec<u8> ⓘ
pub fn as_biguint(&self) -> &BigUint
Trait Implementations§
Source§impl Clone for Sha256Digest
impl Clone for Sha256Digest
Source§fn clone(&self) -> Sha256Digest
fn clone(&self) -> Sha256Digest
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 Sha256Digest
impl Debug for Sha256Digest
Source§impl Display for Sha256Digest
impl Display for Sha256Digest
Source§impl From<Sha256Digest> for String
impl From<Sha256Digest> for String
Source§fn from(s: Sha256Digest) -> String
fn from(s: Sha256Digest) -> String
Converts to this type from the input type.
Source§impl ParseInt for Sha256Digest
impl ParseInt for Sha256Digest
type FromStrRadixErr = ParseBigIntError
fn from_str_radix(src: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
fn from_str(src: &str) -> Result<Self, ParseIntError>
Source§impl PartialEq for Sha256Digest
impl PartialEq for Sha256Digest
Source§impl Serialize for Sha256Digest
impl Serialize for Sha256Digest
impl Eq for Sha256Digest
impl StructuralPartialEq for Sha256Digest
Auto Trait Implementations§
impl Freeze for Sha256Digest
impl RefUnwindSafe for Sha256Digest
impl Send for Sha256Digest
impl Sync for Sha256Digest
impl Unpin for Sha256Digest
impl UnwindSafe for Sha256Digest
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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, U> ConsoleSend<T> for U
impl<T, U> ConsoleSend<T> for U
§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type