pub struct K1Invites { /* private fields */ }Implementations§
Source§impl K1Invites
impl K1Invites
pub fn open( root: &Path, ordering: Arc<K1TxnOrdering>, peering: Arc<K1Peering>, verifier_key: InviteVerifierKey, ) -> Result<Self, String>
pub fn create(&self) -> Result<(TxId, InviteCode), String>
pub fn consume_with_data( &self, code: &InviteCode, registration_key: RegistrationKey, data: &[u8], ) -> Result<UserId, String>
pub fn registrations(&self) -> Result<Vec<Registration>, String>
Auto Trait Implementations§
impl Freeze for K1Invites
impl RefUnwindSafe for K1Invites
impl Send for K1Invites
impl Sync for K1Invites
impl Unpin for K1Invites
impl UnsafeUnpin for K1Invites
impl UnwindSafe for K1Invites
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more