Type Alias WrappedKeyBytes

Source
pub type WrappedKeyBytes = WrappedKeyBytesV32;

Aliased Type§

struct WrappedKeyBytes(pub [u8; 48]);

Fields§

§0: [u8; 48]

Trait Implementations§

Source§

impl Default for WrappedKeyBytes

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Deref for WrappedKeyBytes

Source§

type Target = [u8; 48]

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl DerefMut for WrappedKeyBytes

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl<'de> Deserialize<'de> for WrappedKeyBytes

Source§

fn deserialize<D>(deserializer: D) -> Result<WrappedKeyBytes, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<[u8; 48]> for WrappedKeyBytes

Source§

fn from(buf: [u8; 48]) -> Self

Converts to this type from the input type.
Source§

impl Serialize for WrappedKeyBytes

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Vec<u8>> for WrappedKeyBytes

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(buf: Vec<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TypeFingerprint for WrappedKeyBytes