alloy_sol_types

Trait JsonAbiExt

Source
pub trait JsonAbiExt {
    type Abi;

    // Required method
    fn abi() -> Self::Abi;
}
Available on crate feature json only.
Expand description

Extension trait for ABI representation.

Implemented by types generated by the sol! macro when using the #[sol(abi)] attribute.

Required Associated Types§

Source

type Abi

The ABI representation of this type.

Required Methods§

Source

fn abi() -> Self::Abi

Returns the ABI representation of this type.

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§