Struct redis_driver::PingOptions
source · pub struct PingOptions { /* private fields */ }
Expand description
Options for the ping
command.
Implementations
sourceimpl PingOptions
impl PingOptions
pub fn message<M: Into<BulkString>>(self, message: M) -> Self
Trait Implementations
sourceimpl Default for PingOptions
impl Default for PingOptions
sourcefn default() -> PingOptions
fn default() -> PingOptions
Returns the “default value” for a type. Read more
sourceimpl IntoArgs for PingOptions
impl IntoArgs for PingOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for PingOptions
impl Send for PingOptions
impl Sync for PingOptions
impl Unpin for PingOptions
impl UnwindSafe for PingOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more