pub struct PostgresSaver { /* private fields */ }Implementations§
Source§impl PostgresSaver
impl PostgresSaver
Trait Implementations§
Source§impl CheckpointSaver for PostgresSaver
impl CheckpointSaver for PostgresSaver
fn put(&self, checkpoint: Checkpoint) -> Result<(), CheckpointError>
fn get( &self, thread_id: &str, checkpoint_id: &str, ) -> Result<Option<Checkpoint>, CheckpointError>
Source§fn list(&self, thread_id: &str) -> Result<Vec<Checkpoint>, CheckpointError>
fn list(&self, thread_id: &str) -> Result<Vec<Checkpoint>, CheckpointError>
Returns checkpoints for a thread. Read more
Source§impl Clone for PostgresSaver
impl Clone for PostgresSaver
Source§fn clone(&self) -> PostgresSaver
fn clone(&self) -> PostgresSaver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PostgresSaver
impl RefUnwindSafe for PostgresSaver
impl Send for PostgresSaver
impl Sync for PostgresSaver
impl Unpin for PostgresSaver
impl UnsafeUnpin for PostgresSaver
impl UnwindSafe for PostgresSaver
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