pub enum EmbeddedRedisClient {
Ready(ReadyRedisClient),
Faulty(FaultyRedisClient),
}Variants§
Implementations§
Source§impl EmbeddedRedisClient
impl EmbeddedRedisClient
pub async fn start( settings: EmbeddedRedisClientSettings, ) -> Result<EmbeddedRedisClient, EmbeddedRedisClientError>
pub fn to_faulty(&mut self)
pub async fn execute_async<T>(
&mut self,
command: Cmd,
) -> Result<T, EmbeddedRedisClientError>where
T: FromRedisValue,
Auto Trait Implementations§
impl Freeze for EmbeddedRedisClient
impl !RefUnwindSafe for EmbeddedRedisClient
impl Send for EmbeddedRedisClient
impl Sync for EmbeddedRedisClient
impl Unpin for EmbeddedRedisClient
impl !UnwindSafe for EmbeddedRedisClient
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