[][src]Enum rust_stellar_xdr::StellarMessage

pub enum StellarMessage {
    ERROR_MSG(Error),
    HELLO(Hello),
    AUTH(Auth),
    DONT_HAVE(DontHave),
    GET_PEERS,
    PEERS(Vec<PeerAddress>),
    GET_TX_SET(uint256),
    TX_SET(TransactionSet),
    TRANSACTION(TransactionEnvelope),
    GET_SCP_QUORUMSET(uint256),
    SCP_QUORUMSET(SCPQuorumSet),
    SCP_MESSAGE(SCPEnvelope),
    GET_SCP_STATE(uint32),
}

Variants

ERROR_MSG(Error)
HELLO(Hello)
AUTH(Auth)
DONT_HAVE(DontHave)
GET_PEERS
GET_TX_SET(uint256)
TRANSACTION(TransactionEnvelope)
GET_SCP_QUORUMSET(uint256)
SCP_QUORUMSET(SCPQuorumSet)
SCP_MESSAGE(SCPEnvelope)
GET_SCP_STATE(uint32)

Trait Implementations

impl<Out: Write> Pack<Out> for StellarMessage[src]

impl<In: Read> Unpack<In> for StellarMessage[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self