parity_scale_codec

Trait DecodeWithMemTracking

Source
pub trait DecodeWithMemTracking: Decode { }
Expand description

Marker trait used for identifying types that call the Input::on_before_alloc_mem hook while decoding.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DecodeWithMemTracking for bool

Source§

impl DecodeWithMemTracking for f32

Source§

impl DecodeWithMemTracking for f64

Source§

impl DecodeWithMemTracking for i8

Source§

impl DecodeWithMemTracking for i16

Source§

impl DecodeWithMemTracking for i32

Source§

impl DecodeWithMemTracking for i64

Source§

impl DecodeWithMemTracking for i128

Source§

impl DecodeWithMemTracking for u8

Source§

impl DecodeWithMemTracking for u16

Source§

impl DecodeWithMemTracking for u32

Source§

impl DecodeWithMemTracking for u64

Source§

impl DecodeWithMemTracking for u128

Source§

impl DecodeWithMemTracking for ()

Source§

impl DecodeWithMemTracking for String

Source§

impl DecodeWithMemTracking for Duration

Source§

impl DecodeWithMemTracking for NonZeroI8

Source§

impl DecodeWithMemTracking for NonZeroI16

Source§

impl DecodeWithMemTracking for NonZeroI32

Source§

impl DecodeWithMemTracking for NonZeroI64

Source§

impl DecodeWithMemTracking for NonZeroI128

Source§

impl DecodeWithMemTracking for NonZeroU8

Source§

impl DecodeWithMemTracking for NonZeroU16

Source§

impl DecodeWithMemTracking for NonZeroU32

Source§

impl DecodeWithMemTracking for NonZeroU64

Source§

impl DecodeWithMemTracking for NonZeroU128

Source§

impl<'a, T: ToOwned + DecodeWithMemTracking> DecodeWithMemTracking for Cow<'a, T>
where Cow<'a, T>: Decode,

Source§

impl<K: DecodeWithMemTracking, V: DecodeWithMemTracking> DecodeWithMemTracking for BTreeMap<K, V>
where BTreeMap<K, V>: Decode,

Source§

impl<T> DecodeWithMemTracking for PhantomData<T>
where PhantomData<T>: Decode,

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for Option<T>

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for Box<T>

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for BinaryHeap<T>
where BinaryHeap<T>: Decode,

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for BTreeSet<T>
where BTreeSet<T>: Decode,

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for LinkedList<T>
where LinkedList<T>: Decode,

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for VecDeque<T>

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for Rc<T>

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for Arc<T>

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for Vec<T>

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for Range<T>

Source§

impl<T: DecodeWithMemTracking> DecodeWithMemTracking for RangeInclusive<T>

Source§

impl<T: DecodeWithMemTracking, E: DecodeWithMemTracking> DecodeWithMemTracking for Result<T, E>

Source§

impl<T: DecodeWithMemTracking, const N: usize> DecodeWithMemTracking for [T; N]

Source§

impl<TupleElement0: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0,)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking, TupleElement11: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking, TupleElement11: DecodeWithMemTracking, TupleElement12: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking, TupleElement11: DecodeWithMemTracking, TupleElement12: DecodeWithMemTracking, TupleElement13: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking, TupleElement11: DecodeWithMemTracking, TupleElement12: DecodeWithMemTracking, TupleElement13: DecodeWithMemTracking, TupleElement14: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking, TupleElement11: DecodeWithMemTracking, TupleElement12: DecodeWithMemTracking, TupleElement13: DecodeWithMemTracking, TupleElement14: DecodeWithMemTracking, TupleElement15: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking, TupleElement11: DecodeWithMemTracking, TupleElement12: DecodeWithMemTracking, TupleElement13: DecodeWithMemTracking, TupleElement14: DecodeWithMemTracking, TupleElement15: DecodeWithMemTracking, TupleElement16: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)

Source§

impl<TupleElement0: DecodeWithMemTracking, TupleElement1: DecodeWithMemTracking, TupleElement2: DecodeWithMemTracking, TupleElement3: DecodeWithMemTracking, TupleElement4: DecodeWithMemTracking, TupleElement5: DecodeWithMemTracking, TupleElement6: DecodeWithMemTracking, TupleElement7: DecodeWithMemTracking, TupleElement8: DecodeWithMemTracking, TupleElement9: DecodeWithMemTracking, TupleElement10: DecodeWithMemTracking, TupleElement11: DecodeWithMemTracking, TupleElement12: DecodeWithMemTracking, TupleElement13: DecodeWithMemTracking, TupleElement14: DecodeWithMemTracking, TupleElement15: DecodeWithMemTracking, TupleElement16: DecodeWithMemTracking, TupleElement17: DecodeWithMemTracking> DecodeWithMemTracking for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)

Implementors§