Struct embedded_redis::commands::bgsave::BackgroundSaveCommand
source · pub struct BackgroundSaveCommand { /* private fields */ }
Expand description
Abstraction ob BGSAVE command
Implementations§
Trait Implementations§
source§impl<F: From<CommandBuilder>> Command<F> for BackgroundSaveCommand
impl<F: From<CommandBuilder>> Command<F> for BackgroundSaveCommand
§type Response = ()
type Response = ()
Response type, either a custom evaluated “high-level” response or the original RESP frame
source§fn eval_response(&self, _: F) -> Result<Self::Response, ResponseTypeError>
fn eval_response(&self, _: 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 Default for BackgroundSaveCommand
impl Default for BackgroundSaveCommand
source§fn default() -> BackgroundSaveCommand
fn default() -> BackgroundSaveCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BackgroundSaveCommand
impl Send for BackgroundSaveCommand
impl Sync for BackgroundSaveCommand
impl Unpin for BackgroundSaveCommand
impl UnwindSafe for BackgroundSaveCommand
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