pub struct PostgresBucket { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl StorageCollection for PostgresBucket
impl StorageCollection for PostgresBucket
fn set_state<'life0, 'life1, 'async_trait>(
&'life0 self,
id: ID,
state: &'life1 State,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_state<'life0, 'async_trait>(
&'life0 self,
id: ID,
) -> Pin<Box<dyn Future<Output = Result<State, RetrievalError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_states<'life0, 'life1, 'async_trait>(
&'life0 self,
entities: Vec<(ID, &'life1 State)>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for PostgresBucket
impl !RefUnwindSafe for PostgresBucket
impl Send for PostgresBucket
impl Sync for PostgresBucket
impl Unpin for PostgresBucket
impl !UnwindSafe for PostgresBucket
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