pub enum StellarMessage {
Show 13 variants
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
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)
Trait Implementations§
Source§impl<Out: Write> Pack<Out> for StellarMessage
impl<Out: Write> Pack<Out> for StellarMessage
Auto Trait Implementations§
impl Freeze for StellarMessage
impl RefUnwindSafe for StellarMessage
impl Send for StellarMessage
impl Sync for StellarMessage
impl Unpin for StellarMessage
impl UnwindSafe for StellarMessage
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