Struct clarity_repl::clarity::util::bitcoin::util::hash::Sha256dEncoder [−][src]
An object that allows serializing data into a sha256d
Implementations
impl Sha256dEncoder
[src]
pub fn new() -> Sha256dEncoder
[src]
Create a new encoder
pub fn into_hash(self) -> Sha256dHash
[src]
Extract the hash from an encoder
Trait Implementations
impl SimpleEncoder for Sha256dEncoder
[src]
fn emit_u64(&mut self, v: u64) -> Result<(), Error>
[src]
fn emit_u32(&mut self, v: u32) -> Result<(), Error>
[src]
fn emit_u16(&mut self, v: u16) -> Result<(), Error>
[src]
fn emit_i64(&mut self, v: i64) -> Result<(), Error>
[src]
fn emit_i32(&mut self, v: i32) -> Result<(), Error>
[src]
fn emit_i16(&mut self, v: i16) -> Result<(), Error>
[src]
fn emit_i8(&mut self, v: i8) -> Result<(), Error>
[src]
fn emit_u8(&mut self, v: u8) -> Result<(), Error>
[src]
fn emit_bool(&mut self, v: bool) -> Result<(), Error>
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,