pub struct TestOnlyChallengeIssuanceStore { /* private fields */ }Expand description
The in-memory reference V2ChallengeIssuanceStore. TEST ONLY.
Implementations§
Trait Implementations§
Source§impl V2ChallengeIssuanceStore for TestOnlyChallengeIssuanceStore
impl V2ChallengeIssuanceStore for TestOnlyChallengeIssuanceStore
Source§fn persist_v2_challenge(
&self,
_ctx: &V2Context,
record: ExpectedChallengeV2,
) -> Result<(), V2StoreError>
fn persist_v2_challenge( &self, _ctx: &V2Context, record: ExpectedChallengeV2, ) -> Result<(), V2StoreError>
Insert only, never overwrite.
fn load_v2_challenge( &self, _ctx: &V2Context, namespace: &str, replay_epoch: i64, claim_digest: &[u8], ) -> Result<ExpectedChallengeV2, V2StoreError>
Auto Trait Implementations§
impl !Freeze for TestOnlyChallengeIssuanceStore
impl Forget for TestOnlyChallengeIssuanceStore
impl RefUnwindSafe for TestOnlyChallengeIssuanceStore
impl Send for TestOnlyChallengeIssuanceStore
impl Sync for TestOnlyChallengeIssuanceStore
impl Unpin for TestOnlyChallengeIssuanceStore
impl UnsafeUnpin for TestOnlyChallengeIssuanceStore
impl UnwindSafe for TestOnlyChallengeIssuanceStore
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