pub enum BlobSidecarEncoding {
WithBlobs,
WithoutBlobs,
}Expand description
Selects the blob payload representation used when encoding a blob transaction sidecar.
Variants§
WithBlobs
Encode the complete sidecar, including its blob payloads.
WithoutBlobs
Encode an empty blob list while retaining commitments and proofs.
This is the sidecar representation used by eth/72 PooledTransactions responses as
specified by EIP-8070.
Trait Implementations§
Source§impl Clone for BlobSidecarEncoding
impl Clone for BlobSidecarEncoding
Source§fn clone(&self) -> BlobSidecarEncoding
fn clone(&self) -> BlobSidecarEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlobSidecarEncoding
Source§impl Debug for BlobSidecarEncoding
impl Debug for BlobSidecarEncoding
Source§impl Default for BlobSidecarEncoding
impl Default for BlobSidecarEncoding
Source§fn default() -> BlobSidecarEncoding
fn default() -> BlobSidecarEncoding
Returns the “default value” for a type. Read more
impl Eq for BlobSidecarEncoding
Source§impl Hash for BlobSidecarEncoding
impl Hash for BlobSidecarEncoding
Source§impl PartialEq for BlobSidecarEncoding
impl PartialEq for BlobSidecarEncoding
impl StructuralPartialEq for BlobSidecarEncoding
Auto Trait Implementations§
impl Freeze for BlobSidecarEncoding
impl RefUnwindSafe for BlobSidecarEncoding
impl Send for BlobSidecarEncoding
impl Sync for BlobSidecarEncoding
impl Unpin for BlobSidecarEncoding
impl UnsafeUnpin for BlobSidecarEncoding
impl UnwindSafe for BlobSidecarEncoding
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
WithBlobs: 0 bytesWithoutBlobs: 0 bytes