Trait solidity_abi::ABIVariable
source · pub trait ABIVariable: Sized {
const BASIC_TYPE: bool;
const STATIC_LENGTH: Option<usize>;
// Required methods
fn from_abi(data: &[u8]) -> Result<Self, ABIDecodeError>;
fn to_abi(&self) -> LinkedBytes;
fn to_packed_abi(&self) -> LinkedBytes;
}
Required Associated Constants§
const BASIC_TYPE: bool
const STATIC_LENGTH: Option<usize>
Required Methods§
fn from_abi(data: &[u8]) -> Result<Self, ABIDecodeError>
fn to_abi(&self) -> LinkedBytes
fn to_packed_abi(&self) -> LinkedBytes
Object Safety§
This trait is not object safe.