pub struct LapinTestMessage { /* private fields */ }Expand description
One in-process delivery.
Trait Implementations§
Source§impl Debug for LapinTestMessage
impl Debug for LapinTestMessage
Source§impl Drop for LapinTestMessage
impl Drop for LapinTestMessage
Source§impl IncomingMessage for LapinTestMessage
impl IncomingMessage for LapinTestMessage
Source§async fn nack(self, requeue: bool) -> Result<(), AckError>
async fn nack(self, requeue: bool) -> Result<(), AckError>
Re-enqueues to the same subscription (requeue = true) or drops (requeue = false).
§Errors
Never fails; the in-process transport has no channel to lose.
Source§fn partition_key(&self) -> Option<&[u8]>
fn partition_key(&self) -> Option<&[u8]>
Returns the routing key the broker partitioned this message by, or
None when the
message carries no key. Read moreSource§fn supports_nack_after(&self) -> bool
fn supports_nack_after(&self) -> bool
Reports whether this transport can honor
nack_after natively. Read moreAuto Trait Implementations§
impl !Freeze for LapinTestMessage
impl RefUnwindSafe for LapinTestMessage
impl Send for LapinTestMessage
impl Sync for LapinTestMessage
impl Unpin for LapinTestMessage
impl UnsafeUnpin for LapinTestMessage
impl UnwindSafe for LapinTestMessage
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