pub struct PrecompileOutput {
pub cost: EthGas,
pub output: Vec<u8>,
pub logs: Vec<Log>,
}Fields§
§cost: EthGas§output: Vec<u8>§logs: Vec<Log>Implementations§
Source§impl PrecompileOutput
impl PrecompileOutput
pub const fn without_logs(cost: EthGas, output: Vec<u8>) -> Self
Trait Implementations§
Source§impl Debug for PrecompileOutput
impl Debug for PrecompileOutput
Source§impl Default for PrecompileOutput
impl Default for PrecompileOutput
Source§fn default() -> PrecompileOutput
fn default() -> PrecompileOutput
Returns the “default value” for a type. Read more
Source§impl PartialEq for PrecompileOutput
impl PartialEq for PrecompileOutput
impl Eq for PrecompileOutput
impl StructuralPartialEq for PrecompileOutput
Auto Trait Implementations§
impl Freeze for PrecompileOutput
impl RefUnwindSafe for PrecompileOutput
impl Send for PrecompileOutput
impl Sync for PrecompileOutput
impl Unpin for PrecompileOutput
impl UnwindSafe for PrecompileOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more