Enum nash_protocol::types::exchange::Nonce [−][src]
pub enum Nonce {
Value(u32),
Crosschain,
}
Expand description
Nonces are 32 bit integers. They increment over time such that data with lower nonces that has already been observed are rejected by the matching engine and smart contract.
Variants
Value(u32)
Tuple Fields of Value
0: u32
Implementations
Serialize Nonce for NEO payload as 8 bytes LittleEndian
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Nonce
impl UnwindSafe for Nonce
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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