pub struct ReadExplicitOptions { /* private fields */ }Expand description
Set of options that are required by RedisStream::read_explicit()
Implementations§
Source§impl ReadExplicitOptions
impl ReadExplicitOptions
pub fn new(stream: String, start_id: EntryId, count: u16) -> ReadExplicitOptions
pub fn add_stream(&mut self, stream: String, start_id: EntryId)
Trait Implementations§
Source§impl Clone for ReadExplicitOptions
impl Clone for ReadExplicitOptions
Source§fn clone(&self) -> ReadExplicitOptions
fn clone(&self) -> ReadExplicitOptions
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 ReadExplicitOptions
impl RefUnwindSafe for ReadExplicitOptions
impl Send for ReadExplicitOptions
impl Sync for ReadExplicitOptions
impl Unpin for ReadExplicitOptions
impl UnwindSafe for ReadExplicitOptions
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