Struct embedded_redis::commands::auth::AuthCommand
source · pub struct AuthCommand { /* private fields */ }Implementations§
Trait Implementations§
source§impl<F> Command<F> for AuthCommandwhere
F: ToStringOption + From<CommandBuilder>,
impl<F> Command<F> for AuthCommandwhere F: ToStringOption + From<CommandBuilder>,
§type Response = ()
type Response = ()
Response type, either a custom evaluated “high-level” response or the original RESP frame
source§fn eval_response(&self, frame: F) -> Result<Self::Response, ResponseTypeError>
fn eval_response(&self, frame: F) -> Result<Self::Response, ResponseTypeError>
The command has the ability to evaluate the response frame and craft its own high level
response from that.
Its also possible to just return 1:1 the RESP2 frame. Read more
source§impl From<&Credentials> for AuthCommand
impl From<&Credentials> for AuthCommand
source§fn from(credentials: &Credentials) -> AuthCommand
fn from(credentials: &Credentials) -> AuthCommand
Converts to this type from the input type.