pub struct AsyncConsumer { /* private fields */ }
Implementations§
Source§impl AsyncConsumer
impl AsyncConsumer
pub async fn get_message( &self, ) -> Result<Option<MessageCommand>, GetMessageError>
Source§impl AsyncConsumer
impl AsyncConsumer
pub async fn raw_ack(&self, ack_command: AckCommand) -> Result<(), RawAckError>
Source§impl AsyncConsumer
impl AsyncConsumer
pub async fn raw_flow( &self, flow_command: FlowCommand, ) -> Result<(), RawFlowError>
Source§impl AsyncConsumer
impl AsyncConsumer
pub async fn raw_redeliver_unacknowledged_messages( &self, redeliver_unacknowledged_messages_command: RedeliverUnacknowledgedMessagesCommand, ) -> Result<(), RawRedeliverUnacknowledgedMessagesError>
Source§impl AsyncConsumer
impl AsyncConsumer
pub fn get_consumer_id(&self) -> ConsumerId
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AsyncConsumer
impl RefUnwindSafe for AsyncConsumer
impl Send for AsyncConsumer
impl Sync for AsyncConsumer
impl Unpin for AsyncConsumer
impl UnwindSafe for AsyncConsumer
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