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

Source§

impl Clone for WrappedKeyBytesV32

Source§

fn clone(&self) -> WrappedKeyBytesV32

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WrappedKeyBytesV32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for WrappedKeyBytesV32

Source§

fn eq(&self, other: &WrappedKeyBytesV32) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for WrappedKeyBytesV32