pub struct SqlStore<'a> {
pub conn: &'a Connection,
}Fields§
§conn: &'a ConnectionTrait Implementations§
Source§impl RunStore for SqlStore<'_>
impl RunStore for SqlStore<'_>
fn save(&mut self, run: &Run) -> Result<(), String>
Source§fn put_pending(&mut self, run_id: &str, value: &str) -> Result<(), String>
fn put_pending(&mut self, run_id: &str, value: &str) -> Result<(), String>
A value chosen by the client, stored before the issuer is told (rule 2).
fn pending(&self, run_id: &str) -> Option<String>
fn clear_pending(&mut self, run_id: &str) -> Result<(), String>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SqlStore<'a>
impl<'a> !Send for SqlStore<'a>
impl<'a> !Sync for SqlStore<'a>
impl<'a> !UnwindSafe for SqlStore<'a>
impl<'a> Freeze for SqlStore<'a>
impl<'a> Unpin for SqlStore<'a>
impl<'a> UnsafeUnpin for SqlStore<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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