Enum cuprate_wire::p2p::common::TransactionBlobs
source · pub enum TransactionBlobs {
Pruned(Vec<PrunedTxBlobEntry>),
Normal(Vec<Bytes>),
None,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for TransactionBlobs
impl Clone for TransactionBlobs
source§fn clone(&self) -> TransactionBlobs
fn clone(&self) -> TransactionBlobs
Returns a copy 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 moresource§impl Debug for TransactionBlobs
impl Debug for TransactionBlobs
source§impl PartialEq for TransactionBlobs
impl PartialEq for TransactionBlobs
source§fn eq(&self, other: &TransactionBlobs) -> bool
fn eq(&self, other: &TransactionBlobs) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TransactionBlobs
impl StructuralPartialEq for TransactionBlobs
Auto Trait Implementations§
impl Freeze for TransactionBlobs
impl RefUnwindSafe for TransactionBlobs
impl Send for TransactionBlobs
impl Sync for TransactionBlobs
impl Unpin for TransactionBlobs
impl UnwindSafe for TransactionBlobs
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
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: 32 bytes
Size for each variant:
Pruned: 24 bytesNormal: 24 bytesNone: 0 bytes