pub trait HashConvert<T> {
// Required method
fn convert_into(&self) -> (T, bool);
}Required Methods§
Sourcefn convert_into(&self) -> (T, bool)
fn convert_into(&self) -> (T, bool)
Convert a fixed hash into another, return the new fixed hash and if it be truncated.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl HashConvert<H128> for H160
Available on crate features
bits_128 and bits_160 only.impl HashConvert<H128> for H224
Available on crate features
bits_128 and bits_224 only.impl HashConvert<H128> for H256
Available on crate features
bits_128 and bits_256 only.impl HashConvert<H128> for H384
Available on crate features
bits_128 and bits_384 only.impl HashConvert<H128> for H512
Available on crate features
bits_128 and bits_512 only.impl HashConvert<H128> for H520
Available on crate features
bits_128 and bits_520 only.impl HashConvert<H128> for H1024
Available on crate features
bits_1024 and bits_128 only.impl HashConvert<H128> for H2048
Available on crate features
bits_128 and bits_2048 only.impl HashConvert<H128> for H4096
Available on crate features
bits_128 and bits_4096 only.impl HashConvert<H160> for H128
Available on crate features
bits_128 and bits_160 only.impl HashConvert<H160> for H224
Available on crate features
bits_160 and bits_224 only.impl HashConvert<H160> for H256
Available on crate features
bits_160 and bits_256 only.impl HashConvert<H160> for H384
Available on crate features
bits_160 and bits_384 only.impl HashConvert<H160> for H512
Available on crate features
bits_160 and bits_512 only.impl HashConvert<H160> for H520
Available on crate features
bits_160 and bits_520 only.impl HashConvert<H160> for H1024
Available on crate features
bits_1024 and bits_160 only.impl HashConvert<H160> for H2048
Available on crate features
bits_160 and bits_2048 only.impl HashConvert<H160> for H4096
Available on crate features
bits_160 and bits_4096 only.impl HashConvert<H224> for H128
Available on crate features
bits_128 and bits_224 only.impl HashConvert<H224> for H160
Available on crate features
bits_160 and bits_224 only.impl HashConvert<H224> for H256
Available on crate features
bits_224 and bits_256 only.impl HashConvert<H224> for H384
Available on crate features
bits_224 and bits_384 only.impl HashConvert<H224> for H512
Available on crate features
bits_224 and bits_512 only.impl HashConvert<H224> for H520
Available on crate features
bits_224 and bits_520 only.impl HashConvert<H224> for H1024
Available on crate features
bits_1024 and bits_224 only.impl HashConvert<H224> for H2048
Available on crate features
bits_2048 and bits_224 only.impl HashConvert<H224> for H4096
Available on crate features
bits_224 and bits_4096 only.impl HashConvert<H256> for H128
Available on crate features
bits_128 and bits_256 only.impl HashConvert<H256> for H160
Available on crate features
bits_160 and bits_256 only.impl HashConvert<H256> for H224
Available on crate features
bits_224 and bits_256 only.impl HashConvert<H256> for H384
Available on crate features
bits_256 and bits_384 only.impl HashConvert<H256> for H512
Available on crate features
bits_256 and bits_512 only.impl HashConvert<H256> for H520
Available on crate features
bits_256 and bits_520 only.impl HashConvert<H256> for H1024
Available on crate features
bits_1024 and bits_256 only.impl HashConvert<H256> for H2048
Available on crate features
bits_2048 and bits_256 only.impl HashConvert<H256> for H4096
Available on crate features
bits_256 and bits_4096 only.impl HashConvert<H384> for H128
Available on crate features
bits_128 and bits_384 only.impl HashConvert<H384> for H160
Available on crate features
bits_160 and bits_384 only.impl HashConvert<H384> for H224
Available on crate features
bits_224 and bits_384 only.impl HashConvert<H384> for H256
Available on crate features
bits_256 and bits_384 only.impl HashConvert<H384> for H512
Available on crate features
bits_384 and bits_512 only.impl HashConvert<H384> for H520
Available on crate features
bits_384 and bits_520 only.impl HashConvert<H384> for H1024
Available on crate features
bits_1024 and bits_384 only.impl HashConvert<H384> for H2048
Available on crate features
bits_2048 and bits_384 only.impl HashConvert<H384> for H4096
Available on crate features
bits_384 and bits_4096 only.impl HashConvert<H512> for H128
Available on crate features
bits_128 and bits_512 only.impl HashConvert<H512> for H160
Available on crate features
bits_160 and bits_512 only.impl HashConvert<H512> for H224
Available on crate features
bits_224 and bits_512 only.impl HashConvert<H512> for H256
Available on crate features
bits_256 and bits_512 only.impl HashConvert<H512> for H384
Available on crate features
bits_384 and bits_512 only.impl HashConvert<H512> for H520
Available on crate features
bits_512 and bits_520 only.impl HashConvert<H512> for H1024
Available on crate features
bits_1024 and bits_512 only.impl HashConvert<H512> for H2048
Available on crate features
bits_2048 and bits_512 only.impl HashConvert<H512> for H4096
Available on crate features
bits_4096 and bits_512 only.impl HashConvert<H520> for H128
Available on crate features
bits_128 and bits_520 only.impl HashConvert<H520> for H160
Available on crate features
bits_160 and bits_520 only.impl HashConvert<H520> for H224
Available on crate features
bits_224 and bits_520 only.impl HashConvert<H520> for H256
Available on crate features
bits_256 and bits_520 only.impl HashConvert<H520> for H384
Available on crate features
bits_384 and bits_520 only.impl HashConvert<H520> for H512
Available on crate features
bits_512 and bits_520 only.impl HashConvert<H520> for H1024
Available on crate features
bits_1024 and bits_520 only.impl HashConvert<H520> for H2048
Available on crate features
bits_2048 and bits_520 only.impl HashConvert<H520> for H4096
Available on crate features
bits_4096 and bits_520 only.impl HashConvert<H1024> for H128
Available on crate features
bits_1024 and bits_128 only.impl HashConvert<H1024> for H160
Available on crate features
bits_1024 and bits_160 only.impl HashConvert<H1024> for H224
Available on crate features
bits_1024 and bits_224 only.impl HashConvert<H1024> for H256
Available on crate features
bits_1024 and bits_256 only.impl HashConvert<H1024> for H384
Available on crate features
bits_1024 and bits_384 only.impl HashConvert<H1024> for H512
Available on crate features
bits_1024 and bits_512 only.impl HashConvert<H1024> for H520
Available on crate features
bits_1024 and bits_520 only.impl HashConvert<H1024> for H2048
Available on crate features
bits_1024 and bits_2048 only.impl HashConvert<H1024> for H4096
Available on crate features
bits_1024 and bits_4096 only.impl HashConvert<H2048> for H128
Available on crate features
bits_128 and bits_2048 only.impl HashConvert<H2048> for H160
Available on crate features
bits_160 and bits_2048 only.impl HashConvert<H2048> for H224
Available on crate features
bits_2048 and bits_224 only.impl HashConvert<H2048> for H256
Available on crate features
bits_2048 and bits_256 only.impl HashConvert<H2048> for H384
Available on crate features
bits_2048 and bits_384 only.impl HashConvert<H2048> for H512
Available on crate features
bits_2048 and bits_512 only.impl HashConvert<H2048> for H520
Available on crate features
bits_2048 and bits_520 only.impl HashConvert<H2048> for H1024
Available on crate features
bits_1024 and bits_2048 only.impl HashConvert<H2048> for H4096
Available on crate features
bits_2048 and bits_4096 only.impl HashConvert<H4096> for H128
Available on crate features
bits_128 and bits_4096 only.impl HashConvert<H4096> for H160
Available on crate features
bits_160 and bits_4096 only.impl HashConvert<H4096> for H224
Available on crate features
bits_224 and bits_4096 only.impl HashConvert<H4096> for H256
Available on crate features
bits_256 and bits_4096 only.impl HashConvert<H4096> for H384
Available on crate features
bits_384 and bits_4096 only.impl HashConvert<H4096> for H512
Available on crate features
bits_4096 and bits_512 only.impl HashConvert<H4096> for H520
Available on crate features
bits_4096 and bits_520 only.impl HashConvert<H4096> for H1024
Available on crate features
bits_1024 and bits_4096 only.impl HashConvert<H4096> for H2048
Available on crate features
bits_2048 and bits_4096 only.