pub struct ContentHashGenerator;Expand description
Content-hash ID generator.
Generates IDs based on the content of the message. This is useful for idempotency based on message content.
Implementations§
Trait Implementations§
Source§impl Debug for ContentHashGenerator
impl Debug for ContentHashGenerator
Source§impl Default for ContentHashGenerator
impl Default for ContentHashGenerator
Source§fn default() -> ContentHashGenerator
fn default() -> ContentHashGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContentHashGenerator
impl RefUnwindSafe for ContentHashGenerator
impl Send for ContentHashGenerator
impl Sync for ContentHashGenerator
impl Unpin for ContentHashGenerator
impl UnwindSafe for ContentHashGenerator
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