Trait PayloadAttributesBuilder
pub trait PayloadAttributesBuilder<Attributes>:
Send
+ Sync
+ 'static {
// Required method
fn build(&self, timestamp: u64) -> Attributes;
}
Expand description
A builder that can return the current payload attribute.
Required Methods§
Implementations on Foreign Types§
Source§impl<ChainSpec> PayloadAttributesBuilder<PayloadAttributes> for LocalPayloadAttributesBuilder<ChainSpec>
impl<ChainSpec> PayloadAttributesBuilder<PayloadAttributes> for LocalPayloadAttributesBuilder<ChainSpec>
fn build(&self, timestamp: u64) -> PayloadAttributes
Source§impl<ChainSpec> PayloadAttributesBuilder<OpPayloadAttributes> for LocalPayloadAttributesBuilder<ChainSpec>
Available on crate feature optimism
only.
impl<ChainSpec> PayloadAttributesBuilder<OpPayloadAttributes> for LocalPayloadAttributesBuilder<ChainSpec>
Available on crate feature
optimism
only.