BytesValue

Trait BytesValue 

Source
pub trait BytesValue {
    // Required method
    fn bytes(&self) -> Bytes;
}
Expand description

BytesValue is a trait used to get common bytes array The return value will be wrapped in Bytes container object to simplify the bytes arrary process

Required Methods§

Source

fn bytes(&self) -> Bytes

Implementors§

Source§

impl BytesValue for KeyEncryption

Source§

impl BytesValue for KeyNonce

Source§

impl BytesValue for prople_crypto::ecdh::types::PrivateKeyBytes

Source§

impl BytesValue for prople_crypto::ecdh::types::PublicKeyBytes

Source§

impl BytesValue for prople_crypto::eddsa::types::PrivateKeyBytes

Source§

impl BytesValue for prople_crypto::eddsa::types::PublicKeyBytes

Source§

impl BytesValue for SignatureBytes

Source§

impl BytesValue for Blake3Hash