pub trait ParticipantSlotAllocatorProof {
// Required methods
fn conversation_id(&self) -> ConversationId;
fn participant_index(&self) -> ParticipantIndex;
fn identity_limit(&self) -> u64;
}Expand description
Consuming allocator proof for one permanent participant reservation slot.
Implementations are supplied by the serialized identity allocator; the proof’s existence attests that the returned slot was reserved exactly once.
Required Methods§
Sourcefn conversation_id(&self) -> ConversationId
fn conversation_id(&self) -> ConversationId
Conversation whose identity allocator produced the slot.
Sourcefn participant_index(&self) -> ParticipantIndex
fn participant_index(&self) -> ParticipantIndex
Permanent participant index, also the participant id in protocol v1.
Sourcefn identity_limit(&self) -> u64
fn identity_limit(&self) -> u64
Configured half-open identity limit I used by the allocation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".