Enum tokio_stomp_2::ToServer [−][src]
A STOMP message sent by the client. See the Spec for more information
Variants
Send a message to a destination in the messaging system
Fields of Send
Register to listen to a given destination
Remove an existing subscription
Fields of Unsubscribe
id: String
Acknowledge consumption of a message from a subscription using ‘client’ or ‘client-individual’ acknowledgment.
Notify the server that the client did not consume the message
Start a transaction
Fields of Begin
transaction: String
Commit an in-progress transaction
Fields of Commit
transaction: String
Roll back an in-progress transaction
Fields of Abort
transaction: String
Gracefully disconnect from the server Clients MUST NOT send any more frames after the DISCONNECT frame is sent.
Trait Implementations
impl Clone for ToServer
[src]
impl Debug for ToServer
[src]
impl From<ToServer> for Message<ToServer>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ToServer
impl Send for ToServer
impl Sync for ToServer
impl Unpin for ToServer
impl UnwindSafe for ToServer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,