Enum nash_protocol::types::blockchain::Prefix [−][src]
pub enum Prefix {
SyncState,
FillOrder,
Deposit,
Withdrawal,
}
Expand description
The type prefix indicates what operation this data represents. This is
encoded by 1 byte in the protocol. For example, a payload representing
the fill order operation has 0x01
at the start of the data. These
prefixes are the same for both NEO and Ethereum payloads.
Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Prefix
impl UnwindSafe for Prefix
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more