Struct embedded_redis::commands::auth::AuthCommand
source · pub struct AuthCommand { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<F> Command<F> for AuthCommand
impl<F> Command<F> for AuthCommand
§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.
Auto Trait Implementations§
impl RefUnwindSafe for AuthCommand
impl Send for AuthCommand
impl Sync for AuthCommand
impl Unpin for AuthCommand
impl UnwindSafe for AuthCommand
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