[][src]Enum beacon::Transaction

pub enum Transaction<C: Config> {
    ProposerSlashing(ProposerSlashing),
    AttesterSlashing(AttesterSlashing<C>),
    Attestation(Attestation<C>),
    Deposit(Deposit),
    VoluntaryExit(VoluntaryExit),
    Transfer(Transfer),
}

Beacon block transaction.

Variants

ProposerSlashing(ProposerSlashing)

Proposer slashing.

AttesterSlashing(AttesterSlashing<C>)

Attester slashing.

Attestation(Attestation<C>)

Attestation.

Deposit(Deposit)

Deposit.

VoluntaryExit(VoluntaryExit)

Voluntary exit.

Transfer(Transfer)

Transfer.

Auto Trait Implementations

impl<C> Sync for Transaction<C> where
    <C as Config>::MaxValidatorsPerCommittee: Sync

impl<C> Send for Transaction<C> where
    <C as Config>::MaxValidatorsPerCommittee: Send

impl<C> Unpin for Transaction<C> where
    <C as Config>::MaxValidatorsPerCommittee: Unpin

impl<C> RefUnwindSafe for Transaction<C> where
    <C as Config>::MaxValidatorsPerCommittee: RefUnwindSafe

impl<C> UnwindSafe for Transaction<C> where
    <C as Config>::MaxValidatorsPerCommittee: UnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self