pub enum AckMode {
Auto,
Client,
ClientIndividual,
}Expand description
Acknowledgment modes for STOMP subscriptions
Controls how messages should be acknowledged when received through a subscription.
Variants§
Auto
Auto acknowledgment (the default if not specified)
The client does not need to send ACK frames; the server will assume the client received the message as soon as it is sent.
Client
Client acknowledgment
The client must send an ACK frame for each message received. An ACK acknowledges all messages received so far on the connection.
ClientIndividual
Client individual acknowledgment
The client must send an ACK frame for each individual message. Only the individual message referenced in the ACK is acknowledged.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AckMode
impl RefUnwindSafe for AckMode
impl Send for AckMode
impl Sync for AckMode
impl Unpin for AckMode
impl UnwindSafe for AckMode
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