pub struct ByteLexPositionComparator;Expand description
Position comparison trait for per-subscriber replay filtering Default byte-lexicographic position comparator.
Works correctly for any position encoded as big-endian bytes of equal length. For positions of unequal length, shorter bytes compare as less than longer ones with the same prefix.
Trait Implementations§
Source§impl Clone for ByteLexPositionComparator
impl Clone for ByteLexPositionComparator
Source§fn clone(&self) -> ByteLexPositionComparator
fn clone(&self) -> ByteLexPositionComparator
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 moreSource§impl Debug for ByteLexPositionComparator
impl Debug for ByteLexPositionComparator
Source§impl Default for ByteLexPositionComparator
impl Default for ByteLexPositionComparator
Source§fn default() -> ByteLexPositionComparator
fn default() -> ByteLexPositionComparator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ByteLexPositionComparator
impl RefUnwindSafe for ByteLexPositionComparator
impl Send for ByteLexPositionComparator
impl Sync for ByteLexPositionComparator
impl Unpin for ByteLexPositionComparator
impl UnsafeUnpin for ByteLexPositionComparator
impl UnwindSafe for ByteLexPositionComparator
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