pub struct ElementKeySelector;Expand description
Simple key selector that uses the element’s key field.
Trait Implementations§
Source§impl KeySelector for ElementKeySelector
impl KeySelector for ElementKeySelector
Source§fn select_key(&self, element: &StreamElement) -> Vec<u8> ⓘ
fn select_key(&self, element: &StreamElement) -> Vec<u8> ⓘ
Extract key from an element.
Auto Trait Implementations§
impl Freeze for ElementKeySelector
impl RefUnwindSafe for ElementKeySelector
impl Send for ElementKeySelector
impl Sync for ElementKeySelector
impl Unpin for ElementKeySelector
impl UnsafeUnpin for ElementKeySelector
impl UnwindSafe for ElementKeySelector
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