pub enum OffsetSpecification {
First,
Last,
Next,
Offset(u64),
Timestamp(i64),
}
Variants§
Trait Implementations§
source§impl Debug for OffsetSpecification
impl Debug for OffsetSpecification
source§impl Decoder for OffsetSpecification
impl Decoder for OffsetSpecification
fn decode(input: &[u8]) -> Result<(&[u8], OffsetSpecification), DecodeError>
source§impl Encoder for OffsetSpecification
impl Encoder for OffsetSpecification
source§impl PartialEq for OffsetSpecification
impl PartialEq for OffsetSpecification
source§fn eq(&self, other: &OffsetSpecification) -> bool
fn eq(&self, other: &OffsetSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OffsetSpecification
impl StructuralEq for OffsetSpecification
impl StructuralPartialEq for OffsetSpecification
Auto Trait Implementations§
impl RefUnwindSafe for OffsetSpecification
impl Send for OffsetSpecification
impl Sync for OffsetSpecification
impl Unpin for OffsetSpecification
impl UnwindSafe for OffsetSpecification
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more