Struct ntex_redis::Client [−][src]
pub struct Client { /* fields omitted */ }
Expand description
Shared redis client
Implementations
Execute redis command
Delete all the keys of the currently selected DB.
Returns true if underlying transport is connected to redis
Trait Implementations
type Future = Either<CommandResult, Ready<Response, Error>>
type Future = Either<CommandResult, Ready<Response, Error>>
The future response value.
Returns Ready
when the service is able to process requests. Read more
Process the request and return the response asynchronously. Read more
fn poll_shutdown(&self, ctx: &mut Context<'_>, is_error: bool) -> Poll<()>
fn poll_shutdown(&self, ctx: &mut Context<'_>, is_error: bool) -> Poll<()>
Shutdown service. Read more
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_service(self) -> T
pub fn into_service(self) -> T
Convert to a Service
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more