pub struct AsyncAdapter<S>(/* private fields */);Implementations§
Source§impl<S> AsyncAdapter<S>
impl<S> AsyncAdapter<S>
Trait Implementations§
Source§impl<S: OrderedStoreRead> AsyncOrderedStoreRead for AsyncAdapter<S>
impl<S: OrderedStoreRead> AsyncOrderedStoreRead for AsyncAdapter<S>
Source§impl<S: SearchableStoreRead> AsyncSearchableStoreRead for AsyncAdapter<S>
impl<S: SearchableStoreRead> AsyncSearchableStoreRead for AsyncAdapter<S>
Source§async fn filter(
&self,
pred: impl FnMut(&Self::Key, &Self::Value) -> bool,
) -> Vec<(Self::Key, Self::Value)>
async fn filter( &self, pred: impl FnMut(&Self::Key, &Self::Value) -> bool, ) -> Vec<(Self::Key, Self::Value)>
Search for all entries in the store, that fulfill a certain predicate Read more
async fn find( &self, pred: impl FnMut(&Self::Key, &Self::Value) -> bool, ) -> Option<(Self::Key, Self::Value)>
Source§impl<S: StoreRead> AsyncStoreRead for AsyncAdapter<S>
impl<S: StoreRead> AsyncStoreRead for AsyncAdapter<S>
Source§impl<S: StoreWrite> AsyncStoreWrite for AsyncAdapter<S>
impl<S: StoreWrite> AsyncStoreWrite for AsyncAdapter<S>
Auto Trait Implementations§
impl<S> Freeze for AsyncAdapter<S>where
S: Freeze,
impl<S> RefUnwindSafe for AsyncAdapter<S>where
S: RefUnwindSafe,
impl<S> Send for AsyncAdapter<S>where
S: Send,
impl<S> Sync for AsyncAdapter<S>where
S: Sync,
impl<S> Unpin for AsyncAdapter<S>where
S: Unpin,
impl<S> UnsafeUnpin for AsyncAdapter<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for AsyncAdapter<S>where
S: UnwindSafe,
Blanket Implementations§
impl<T> AsyncOrderedStore for Twhere
T: AsyncOrderedStoreRead + AsyncStoreWrite,
impl<T> AsyncSearchableStore for Twhere
T: AsyncSearchableStoreRead + AsyncStoreWrite,
impl<T> AsyncStore for Twhere
T: AsyncStoreRead + AsyncStoreWrite,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more