pub struct PendingOptions { /* private fields */ }Expand description
Set of options that are required by RedisStream::pending_entries()
Implementations§
Source§impl PendingOptions
impl PendingOptions
pub fn new( stream: String, group: String, consumer: String, start_id: EntryId, ) -> RedisResult<Self>
pub fn with_count( stream: String, group: String, consumer: String, start_id: EntryId, count: u16, ) -> RedisResult<Self>
pub fn add_stream(&mut self, stream: String, start_id: EntryId)
Trait Implementations§
Source§impl Clone for PendingOptions
impl Clone for PendingOptions
Source§fn clone(&self) -> PendingOptions
fn clone(&self) -> PendingOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PendingOptions
impl RefUnwindSafe for PendingOptions
impl Send for PendingOptions
impl Sync for PendingOptions
impl Unpin for PendingOptions
impl UnwindSafe for PendingOptions
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