pub trait EofContainer {
// Required method
fn eof_container(&self, index: usize) -> Option<&Bytes>;
}
Expand description
Returns EOF containers. Used by [bytecode::opcode::RETURNCONTRACT
] and [bytecode::opcode::EOFCREATE
] opcodes.
Required Methods§
Sourcefn eof_container(&self, index: usize) -> Option<&Bytes>
fn eof_container(&self, index: usize) -> Option<&Bytes>
Returns EOF container at given index.