Struct diem_crypto::test_utils::TestDiemCrypto
source · pub struct TestDiemCrypto(pub String);
Expand description
This struct provides a means of testing signing and verification through BCS serialization and domain separation
Tuple Fields§
§0: String
Trait Implementations§
source§impl CryptoHash for TestDiemCrypto
impl CryptoHash for TestDiemCrypto
source§impl Debug for TestDiemCrypto
impl Debug for TestDiemCrypto
source§impl<'de> Deserialize<'de> for TestDiemCrypto
impl<'de> Deserialize<'de> for TestDiemCrypto
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TestDiemCrypto
impl Send for TestDiemCrypto
impl Sync for TestDiemCrypto
impl Unpin for TestDiemCrypto
impl UnwindSafe for TestDiemCrypto
Blanket Implementations§
source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.