[][src]Struct redis::streams::StreamClaimOptions

pub struct StreamClaimOptions { /* fields omitted */ }
This is supported on crate feature streams only.

Builder options for xclaim_options command.

Implementations

impl StreamClaimOptions[src]

pub fn idle(self, ms: usize) -> Self[src]

Set IDLE cmd arg.

pub fn time(self, ms_time: usize) -> Self[src]

Set TIME cmd arg.

pub fn retry(self, count: usize) -> Self[src]

Set RETRYCOUNT cmd arg.

pub fn with_force(self) -> Self[src]

Set FORCE cmd arg to true.

pub fn with_justid(self) -> Self[src]

Set JUSTID cmd arg to true. Be advised: the response type changes with this option.

Trait Implementations

impl Debug for StreamClaimOptions[src]

impl Default for StreamClaimOptions[src]

impl ToRedisArgs for StreamClaimOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,