pub enum StreamIdError {
Invalid,
}Expand description
Errors parse_*_id may emit. Distinct from StoreError::NotInteger
so callers can map to the more specific Redis wire shape (ERR Invalid stream ID specified as stream command argument).
Variants§
Invalid
Couldn’t parse the bytes as <ms>[-<seq>] / * / - / +.
Trait Implementations§
Source§impl Clone for StreamIdError
impl Clone for StreamIdError
Source§fn clone(&self) -> StreamIdError
fn clone(&self) -> StreamIdError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamIdError
Source§impl Debug for StreamIdError
impl Debug for StreamIdError
impl Eq for StreamIdError
Source§impl PartialEq for StreamIdError
impl PartialEq for StreamIdError
Source§fn eq(&self, other: &StreamIdError) -> bool
fn eq(&self, other: &StreamIdError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamIdError
Auto Trait Implementations§
impl Freeze for StreamIdError
impl RefUnwindSafe for StreamIdError
impl Send for StreamIdError
impl Sync for StreamIdError
impl Unpin for StreamIdError
impl UnsafeUnpin for StreamIdError
impl UnwindSafe for StreamIdError
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