Type Alias binary_codec_sv2::U256

source ·
pub type U256<'a> = Inner<'a, true, 32, 0, 0>;

Aliased Type§

enum U256<'a> {}

Variants§

Trait Implementations§

source§

impl<'a> Decodable<'a> for U256<'a>

source§

impl<'decoder> From<[u8; 32]> for U256<'decoder>

source§

fn from(v: [u8; 32]) -> Self

Converts to this type from the input type.
source§

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

§

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 U256<'a>

§

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.