pub enum JsonGetPayloadResponseRefMut<'__superstruct, T: EthSpec> {
V1(&'__superstruct mut JsonGetPayloadResponseV1<T>),
V2(&'__superstruct mut JsonGetPayloadResponseV2<T>),
}Variants§
V1(&'__superstruct mut JsonGetPayloadResponseV1<T>)
V2(&'__superstruct mut JsonGetPayloadResponseV2<T>)
Implementations§
Source§impl<'__superstruct, T: EthSpec> JsonGetPayloadResponseRefMut<'__superstruct, T>
impl<'__superstruct, T: EthSpec> JsonGetPayloadResponseRefMut<'__superstruct, T>
pub fn block_value_mut(&'__superstruct mut self) -> &'__superstruct mut Uint256
pub fn execution_payload_v1_mut( &'__superstruct mut self, ) -> Result<&'__superstruct mut JsonExecutionPayloadV1<T>, Error>
pub fn execution_payload_v2_mut( &'__superstruct mut self, ) -> Result<&'__superstruct mut JsonExecutionPayloadV2<T>, Error>
Auto Trait Implementations§
impl<'__superstruct, T> Freeze for JsonGetPayloadResponseRefMut<'__superstruct, T>
impl<'__superstruct, T> RefUnwindSafe for JsonGetPayloadResponseRefMut<'__superstruct, T>where
<T as EthSpec>::BytesPerLogsBloom: RefUnwindSafe,
<T as EthSpec>::MaxExtraDataBytes: RefUnwindSafe,
<T as EthSpec>::MaxTransactionsPerPayload: RefUnwindSafe,
<T as EthSpec>::MaxWithdrawalsPerPayload: RefUnwindSafe,
<T as EthSpec>::MaxBytesPerTransaction: RefUnwindSafe,
impl<'__superstruct, T> Send for JsonGetPayloadResponseRefMut<'__superstruct, T>
impl<'__superstruct, T> Sync for JsonGetPayloadResponseRefMut<'__superstruct, T>
impl<'__superstruct, T> Unpin for JsonGetPayloadResponseRefMut<'__superstruct, T>
impl<'__superstruct, T> !UnwindSafe for JsonGetPayloadResponseRefMut<'__superstruct, T>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more