Trait MaxEncodedLen

Source
pub unsafe trait MaxEncodedLen<const LEN: usize>: Encodable { }
Available on crate feature rlp only.
Expand description

Defines the max length of an Encodable type as a const generic.

§Safety

An invalid value can cause the encoder to panic.

Implementations on Foreign Types§

Source§

impl MaxEncodedLen<alloy_rlp::::encode::{impl#8}::{constant#0}> for bool

Source§

impl MaxEncodedLen<alloy_rlp::::encode::{impl#16}::{constant#0}> for u8

Source§

impl MaxEncodedLen<alloy_rlp::::encode::{impl#18}::{constant#0}> for u16

Source§

impl MaxEncodedLen<alloy_rlp::::encode::{impl#20}::{constant#0}> for u32

Source§

impl MaxEncodedLen<alloy_rlp::::encode::{impl#22}::{constant#0}> for u64

Source§

impl MaxEncodedLen<alloy_rlp::::encode::{impl#24}::{constant#0}> for usize

Source§

impl MaxEncodedLen<alloy_rlp::::encode::{impl#26}::{constant#0}> for u128

Implementors§

Source§

impl MaxEncodedLen<alloy_primitives::::bits::address::{impl#100}::{constant#0}> for Address

Source§

impl MaxEncodedLen<alloy_primitives::::bits::bloom::{impl#100}::{constant#0}> for Bloom

Source§

impl MaxEncodedLen<alloy_primitives::::bits::function::{impl#90}::{constant#0}> for Function

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#3}::{constant#0}> for FixedBytes<0>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#4}::{constant#0}> for FixedBytes<1>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#5}::{constant#0}> for FixedBytes<2>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#6}::{constant#0}> for FixedBytes<4>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#7}::{constant#0}> for FixedBytes<8>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#8}::{constant#0}> for FixedBytes<16>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#9}::{constant#0}> for FixedBytes<20>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#10}::{constant#0}> for FixedBytes<32>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#11}::{constant#0}> for FixedBytes<64>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#12}::{constant#0}> for FixedBytes<128>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#13}::{constant#0}> for FixedBytes<256>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#14}::{constant#0}> for FixedBytes<512>

Source§

impl MaxEncodedLen<alloy_primitives::::bits::rlp::{impl#15}::{constant#0}> for FixedBytes<1024>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#0}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#0}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#0}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#1}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#1}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#1}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#2}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#2}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#2}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#3}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#3}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#3}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#4}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#4}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#4}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#5}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#5}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#5}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#6}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#6}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#6}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#7}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#7}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#7}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#8}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#8}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#8}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#9}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#9}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#9}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#10}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#10}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#10}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#11}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#11}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#11}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#12}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#12}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#12}::{constant#2}>

Source§

impl MaxEncodedLen<ruint::::support::alloy_rlp::_::{impl#13}::{constant#0}> for Uint<ruint::::support::alloy_rlp::_::{impl#13}::{constant#1}, ruint::::support::alloy_rlp::_::{impl#13}::{constant#2}>