pub trait SurbShareInfo {
// Required method
fn ssa_index(&self) -> Option<SsaIndex>;
}Expand description
Which SSA the PIX share sealed in a SURB belongs to.
This is what lets SurbRingBuffer tell share-bearing SURBs from share-less ones on insertion. The
SSA index travels in plaintext in the SURB’s receiver-only block, which only the node the SURB was
sent to can read and no relay ever sees, so classifying on it reveals nothing that node did not
already hold. Only whether there is a share is used for now; the index itself is returned so that a
finer ordering, or a trace line, can name the SSA without another look into the block.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".