pub struct InMemoryInviteStore { /* private fields */ }Expand description
Reference in-memory implementation.
Implementations§
Trait Implementations§
Source§impl Default for InMemoryInviteStore
impl Default for InMemoryInviteStore
Source§fn default() -> InMemoryInviteStore
fn default() -> InMemoryInviteStore
Returns the “default value” for a type. Read more
Source§impl InviteStore for InMemoryInviteStore
impl InviteStore for InMemoryInviteStore
Source§fn insert<'life0, 'async_trait>(
&'life0 self,
invite: Invite,
) -> Pin<Box<dyn Future<Output = Result<(), InviteStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn insert<'life0, 'async_trait>(
&'life0 self,
invite: Invite,
) -> Pin<Box<dyn Future<Output = Result<(), InviteStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Insert an invite. Idempotent on the token: if the token already
exists the call is a no-op that returns
Ok(()). The token is
caller-supplied so the CLI can echo it back to the operator
without a second round-trip.Auto Trait Implementations§
impl !Freeze for InMemoryInviteStore
impl !RefUnwindSafe for InMemoryInviteStore
impl Send for InMemoryInviteStore
impl Sync for InMemoryInviteStore
impl Unpin for InMemoryInviteStore
impl UnsafeUnpin for InMemoryInviteStore
impl UnwindSafe for InMemoryInviteStore
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