[−][src]Struct bitcrypto::DHash160
Methods
impl DHash160
[src]
impl DHash160
Trait Implementations
impl Default for DHash160
[src]
impl Default for DHash160
impl Digest for DHash160
[src]
impl Digest for DHash160
fn input(&mut self, d: &[u8])
[src]
fn input(&mut self, d: &[u8])
Provide message data. Read more
fn result(&mut self, out: &mut [u8])
[src]
fn result(&mut self, out: &mut [u8])
Retrieve the digest result. This method may be called multiple times. Read more
fn reset(&mut self)
[src]
fn reset(&mut self)
Reset the digest. This method must be called after result() and before supplying more data. Read more
fn output_bits(&self) -> usize
[src]
fn output_bits(&self) -> usize
Get the output size in bits.
fn block_size(&self) -> usize
[src]
fn block_size(&self) -> usize
Get the block size in bytes.
fn output_bytes(&self) -> usize
fn output_bytes(&self) -> usize
Get the output size in bytes.
fn input_str(&mut self, input: &str)
fn input_str(&mut self, input: &str)
Convenience function that feeds a string into a digest. Read more
fn result_str(&mut self) -> String
fn result_str(&mut self) -> String
Convenience function that retrieves the result of a digest as a String in hexadecimal format. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T
[src]
fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more