Struct clarity_repl::clarity::util::bitcoin::util::hash::Sha256dEncoder
source · [−]pub struct Sha256dEncoder(_);
Expand description
An object that allows serializing data into a sha256d
Implementations
sourceimpl Sha256dEncoder
impl Sha256dEncoder
sourcepub fn new() -> Sha256dEncoder
pub fn new() -> Sha256dEncoder
Create a new encoder
sourcepub fn into_hash(self) -> Sha256dHash
pub fn into_hash(self) -> Sha256dHash
Extract the hash from an encoder
Trait Implementations
sourceimpl SimpleEncoder for Sha256dEncoder
impl SimpleEncoder for Sha256dEncoder
Auto Trait Implementations
impl RefUnwindSafe for Sha256dEncoder
impl Send for Sha256dEncoder
impl Sync for Sha256dEncoder
impl Unpin for Sha256dEncoder
impl UnwindSafe for Sha256dEncoder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more