reth_revm::interpreter::primitives::alloy_primitives::ruint

Trait UintTryTo

pub trait UintTryTo<T>: Sized { }
Expand description

⚠️ Workaround for Rust issue #50133. Use TryFrom instead.

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.

Implementors§

§

impl<const BITS: usize, const LIMBS: usize, T> UintTryTo<T> for Uint<BITS, LIMBS>
where T: for<'a> TryFrom<&'a Uint<BITS, LIMBS>, Error = FromUintError<T>>,

§

impl<const BITS: usize, const LIMBS: usize, const BITS_DST: usize, const LIMBS_DST: usize> UintTryTo<Uint<BITS_DST, LIMBS_DST>> for Uint<BITS, LIMBS>