Interest declares an interest in a keyspace for a given peer. cbor seq: sep_key, the stream set identifier e.g. "model" peer_id, the libp2p address of the interested node indicator, an indicator of whether we have a min(0), range(1), or max(2) start_key, Inclusive start of the range stop_key, Exclusive end of the range not after, Expiration of the interest or 0 to indicate indefinite
| 24 | /// stop_key, Exclusive end of the range |
| 25 | /// not after, Expiration of the interest or 0 to indicate indefinite |
| 26 | pub struct Interest(#[serde(with = "serde_bytes")] Vec<u8>); |
| 27 | |
| 28 | impl Interest { |
| 29 | /// Create a builder for constructing EventIds. |
no outgoing calls
no test coverage detected