pub trait Accepting {
type Error: Error + Send + Sync + 'static;
// Required methods
fn listing(&mut self, offer: &Offer) -> Result<Option<String>, Self::Error>;
fn take<R: CryptoRng>(
&mut self,
offer: &Offer,
grant: &InvitationGrant,
rng: &mut R,
) -> Result<(), Self::Error>;
}Expand description
The joiner’s side of an invitation: its listing for what the admin offers, and how it takes the space.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".