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§fn partition_key(&self) -> Option<&[u8]>
fn partition_key(&self) -> Option<&[u8]>
The partition key from the PARTITION_KEY_HEADER, mirroring the real message so keyed
worker lanes behave the same in-process.
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 supports_nack_after(&self) -> bool
fn supports_nack_after(&self) -> bool
Reports whether this transport can honor
nack_after natively. Read moreSource§impl Partitioned for LapinTestMessage
impl Partitioned for LapinTestMessage
Source§fn partition_key(&self) -> Option<&[u8]>
fn partition_key(&self) -> Option<&[u8]>
The partition key from the PARTITION_KEY_HEADER, mirroring the real message.
Auto 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