Type Alias Signature

Source
pub type Signature<'a> = Inner<'a, true, 64, 0, 0>;
Expand description

Type alias for a 64-byte cryptographic signature represented using the Inner type with fixed-size configuration.

Aliased Type§

#[repr(C)]
pub enum Signature<'a> {}

Trait Implementations§

Source§

impl<'a> Decodable<'a> for Signature<'a>

Source§

fn get_structure(_: &[u8]) -> Result<Vec<FieldMarker>, Error>

Defines the expected structure of a type based on binary data. Read more
Source§

fn from_decoded_fields(data: Vec<DecodableField<'a>>) -> Result<Self, Error>

Constructs the type from a vector of decoded fields. Read more
Source§

fn from_bytes(data: &'a mut [u8]) -> Result<Self, Error>

Decodes the type from raw bytes. Read more
Source§

impl GetMarker for Signature<'_>

Source§

fn get_marker() -> FieldMarker

Defines the structure of a type for decoding purposes, supporting both primitive and structured types. It helps getting a marker for a type.
Source§

impl<'a> TryFrom<DecodableField<'a>> for Signature<'a>

Source§

type Error = Error

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

fn try_from(value: DecodableField<'a>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<EncodableField<'a>> for Signature<'a>

Source§

type Error = Error

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

fn try_from(value: EncodableField<'a>) -> Result<Self, Self::Error>

Performs the conversion.