pub struct InMemoryAckHandleFixed { /* private fields */ }Expand description
Fixed acknowledgment handle for in-memory messages
Implementations§
Source§impl InMemoryAckHandleFixed
impl InMemoryAckHandleFixed
Sourcepub fn new(
message_id: String,
topic: String,
timestamp: SystemTime,
delivery_count: u32,
broker: Weak<InMemoryBroker>,
) -> Self
pub fn new( message_id: String, topic: String, timestamp: SystemTime, delivery_count: u32, broker: Weak<InMemoryBroker>, ) -> Self
Create a new acknowledgment handle
Trait Implementations§
Source§impl AckHandle for InMemoryAckHandleFixed
impl AckHandle for InMemoryAckHandleFixed
Source§fn message_id(&self) -> &str
fn message_id(&self) -> &str
Get the unique message identifier
Source§fn timestamp(&self) -> SystemTime
fn timestamp(&self) -> SystemTime
Get the message timestamp
Source§fn delivery_count(&self) -> u32
fn delivery_count(&self) -> u32
Get the delivery attempt count
Source§impl Clone for InMemoryAckHandleFixed
impl Clone for InMemoryAckHandleFixed
Source§fn clone(&self) -> InMemoryAckHandleFixed
fn clone(&self) -> InMemoryAckHandleFixed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InMemoryAckHandleFixed
impl RefUnwindSafe for InMemoryAckHandleFixed
impl Send for InMemoryAckHandleFixed
impl Sync for InMemoryAckHandleFixed
impl Unpin for InMemoryAckHandleFixed
impl UnwindSafe for InMemoryAckHandleFixed
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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