Skip to main content

HashConvert

Trait HashConvert 

Source
pub trait HashConvert<T> {
    // Required method
    fn convert_into(&self) -> (T, bool);
}

Required Methods§

Source

fn convert_into(&self) -> (T, bool)

Convert a fixed hash into another, return the new fixed hash and if it be truncated.

Implementors§

Source§

impl HashConvert<H128> for H160

Available on crate features bits_160 and bits_128 only.
Source§

impl HashConvert<H128> for H224

Available on crate features bits_224 and bits_128 only.
Source§

impl HashConvert<H128> for H256

Available on crate features bits_256 and bits_128 only.
Source§

impl HashConvert<H128> for H384

Available on crate features bits_384 and bits_128 only.
Source§

impl HashConvert<H128> for H512

Available on crate features bits_512 and bits_128 only.
Source§

impl HashConvert<H128> for H520

Available on crate features bits_520 and bits_128 only.
Source§

impl HashConvert<H128> for H1024

Available on crate features bits_1024 and bits_128 only.
Source§

impl HashConvert<H128> for H2048

Available on crate features bits_2048 and bits_128 only.
Source§

impl HashConvert<H128> for H4096

Available on crate features bits_4096 and bits_128 only.
Source§

impl HashConvert<H160> for H128

Available on crate features bits_128 and bits_160 only.
Source§

impl HashConvert<H160> for H224

Available on crate features bits_224 and bits_160 only.
Source§

impl HashConvert<H160> for H256

Available on crate features bits_256 and bits_160 only.
Source§

impl HashConvert<H160> for H384

Available on crate features bits_384 and bits_160 only.
Source§

impl HashConvert<H160> for H512

Available on crate features bits_512 and bits_160 only.
Source§

impl HashConvert<H160> for H520

Available on crate features bits_520 and bits_160 only.
Source§

impl HashConvert<H160> for H1024

Available on crate features bits_1024 and bits_160 only.
Source§

impl HashConvert<H160> for H2048

Available on crate features bits_2048 and bits_160 only.
Source§

impl HashConvert<H160> for H4096

Available on crate features bits_4096 and bits_160 only.
Source§

impl HashConvert<H224> for H128

Available on crate features bits_128 and bits_224 only.
Source§

impl HashConvert<H224> for H160

Available on crate features bits_160 and bits_224 only.
Source§

impl HashConvert<H224> for H256

Available on crate features bits_256 and bits_224 only.
Source§

impl HashConvert<H224> for H384

Available on crate features bits_384 and bits_224 only.
Source§

impl HashConvert<H224> for H512

Available on crate features bits_512 and bits_224 only.
Source§

impl HashConvert<H224> for H520

Available on crate features bits_520 and bits_224 only.
Source§

impl HashConvert<H224> for H1024

Available on crate features bits_1024 and bits_224 only.
Source§

impl HashConvert<H224> for H2048

Available on crate features bits_2048 and bits_224 only.
Source§

impl HashConvert<H224> for H4096

Available on crate features bits_4096 and bits_224 only.
Source§

impl HashConvert<H256> for H128

Available on crate features bits_128 and bits_256 only.
Source§

impl HashConvert<H256> for H160

Available on crate features bits_160 and bits_256 only.
Source§

impl HashConvert<H256> for H224

Available on crate features bits_224 and bits_256 only.
Source§

impl HashConvert<H256> for H384

Available on crate features bits_384 and bits_256 only.
Source§

impl HashConvert<H256> for H512

Available on crate features bits_512 and bits_256 only.
Source§

impl HashConvert<H256> for H520

Available on crate features bits_520 and bits_256 only.
Source§

impl HashConvert<H256> for H1024

Available on crate features bits_1024 and bits_256 only.
Source§

impl HashConvert<H256> for H2048

Available on crate features bits_2048 and bits_256 only.
Source§

impl HashConvert<H256> for H4096

Available on crate features bits_4096 and bits_256 only.
Source§

impl HashConvert<H384> for H128

Available on crate features bits_128 and bits_384 only.
Source§

impl HashConvert<H384> for H160

Available on crate features bits_160 and bits_384 only.
Source§

impl HashConvert<H384> for H224

Available on crate features bits_224 and bits_384 only.
Source§

impl HashConvert<H384> for H256

Available on crate features bits_256 and bits_384 only.
Source§

impl HashConvert<H384> for H512

Available on crate features bits_512 and bits_384 only.
Source§

impl HashConvert<H384> for H520

Available on crate features bits_520 and bits_384 only.
Source§

impl HashConvert<H384> for H1024

Available on crate features bits_1024 and bits_384 only.
Source§

impl HashConvert<H384> for H2048

Available on crate features bits_2048 and bits_384 only.
Source§

impl HashConvert<H384> for H4096

Available on crate features bits_4096 and bits_384 only.
Source§

impl HashConvert<H512> for H128

Available on crate features bits_128 and bits_512 only.
Source§

impl HashConvert<H512> for H160

Available on crate features bits_160 and bits_512 only.
Source§

impl HashConvert<H512> for H224

Available on crate features bits_224 and bits_512 only.
Source§

impl HashConvert<H512> for H256

Available on crate features bits_256 and bits_512 only.
Source§

impl HashConvert<H512> for H384

Available on crate features bits_384 and bits_512 only.
Source§

impl HashConvert<H512> for H520

Available on crate features bits_520 and bits_512 only.
Source§

impl HashConvert<H512> for H1024

Available on crate features bits_1024 and bits_512 only.
Source§

impl HashConvert<H512> for H2048

Available on crate features bits_2048 and bits_512 only.
Source§

impl HashConvert<H512> for H4096

Available on crate features bits_4096 and bits_512 only.
Source§

impl HashConvert<H520> for H128

Available on crate features bits_128 and bits_520 only.
Source§

impl HashConvert<H520> for H160

Available on crate features bits_160 and bits_520 only.
Source§

impl HashConvert<H520> for H224

Available on crate features bits_224 and bits_520 only.
Source§

impl HashConvert<H520> for H256

Available on crate features bits_256 and bits_520 only.
Source§

impl HashConvert<H520> for H384

Available on crate features bits_384 and bits_520 only.
Source§

impl HashConvert<H520> for H512

Available on crate features bits_512 and bits_520 only.
Source§

impl HashConvert<H520> for H1024

Available on crate features bits_1024 and bits_520 only.
Source§

impl HashConvert<H520> for H2048

Available on crate features bits_2048 and bits_520 only.
Source§

impl HashConvert<H520> for H4096

Available on crate features bits_4096 and bits_520 only.
Source§

impl HashConvert<H1024> for H128

Available on crate features bits_128 and bits_1024 only.
Source§

impl HashConvert<H1024> for H160

Available on crate features bits_160 and bits_1024 only.
Source§

impl HashConvert<H1024> for H224

Available on crate features bits_224 and bits_1024 only.
Source§

impl HashConvert<H1024> for H256

Available on crate features bits_256 and bits_1024 only.
Source§

impl HashConvert<H1024> for H384

Available on crate features bits_384 and bits_1024 only.
Source§

impl HashConvert<H1024> for H512

Available on crate features bits_512 and bits_1024 only.
Source§

impl HashConvert<H1024> for H520

Available on crate features bits_520 and bits_1024 only.
Source§

impl HashConvert<H1024> for H2048

Available on crate features bits_2048 and bits_1024 only.
Source§

impl HashConvert<H1024> for H4096

Available on crate features bits_4096 and bits_1024 only.
Source§

impl HashConvert<H2048> for H128

Available on crate features bits_128 and bits_2048 only.
Source§

impl HashConvert<H2048> for H160

Available on crate features bits_160 and bits_2048 only.
Source§

impl HashConvert<H2048> for H224

Available on crate features bits_224 and bits_2048 only.
Source§

impl HashConvert<H2048> for H256

Available on crate features bits_256 and bits_2048 only.
Source§

impl HashConvert<H2048> for H384

Available on crate features bits_384 and bits_2048 only.
Source§

impl HashConvert<H2048> for H512

Available on crate features bits_512 and bits_2048 only.
Source§

impl HashConvert<H2048> for H520

Available on crate features bits_520 and bits_2048 only.
Source§

impl HashConvert<H2048> for H1024

Available on crate features bits_1024 and bits_2048 only.
Source§

impl HashConvert<H2048> for H4096

Available on crate features bits_4096 and bits_2048 only.
Source§

impl HashConvert<H4096> for H128

Available on crate features bits_128 and bits_4096 only.
Source§

impl HashConvert<H4096> for H160

Available on crate features bits_160 and bits_4096 only.
Source§

impl HashConvert<H4096> for H224

Available on crate features bits_224 and bits_4096 only.
Source§

impl HashConvert<H4096> for H256

Available on crate features bits_256 and bits_4096 only.
Source§

impl HashConvert<H4096> for H384

Available on crate features bits_384 and bits_4096 only.
Source§

impl HashConvert<H4096> for H512

Available on crate features bits_512 and bits_4096 only.
Source§

impl HashConvert<H4096> for H520

Available on crate features bits_520 and bits_4096 only.
Source§

impl HashConvert<H4096> for H1024

Available on crate features bits_1024 and bits_4096 only.
Source§

impl HashConvert<H4096> for H2048

Available on crate features bits_2048 and bits_4096 only.