pub struct LogsBuilder { /* private fields */ }Expand description
Builder for PrecompileOutput.
Implementations§
Source§impl LogsBuilder
impl LogsBuilder
Sourcepub fn new(address: H160) -> Self
pub fn new(address: H160) -> Self
Create a new builder with no logs.
Takes the address of the precompile (usualy context.address).
Trait Implementations§
Source§impl Clone for LogsBuilder
impl Clone for LogsBuilder
Source§fn clone(&self) -> LogsBuilder
fn clone(&self) -> LogsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LogsBuilder
impl RefUnwindSafe for LogsBuilder
impl Send for LogsBuilder
impl Sync for LogsBuilder
impl Unpin for LogsBuilder
impl UnwindSafe for LogsBuilder
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