Struct wasmcloud_interface_messaging::MessagingSender[][src]

pub struct MessagingSender<T: Transport> { /* fields omitted */ }
Expand description

MessagingSender sends messages to a Messaging service The Messaging interface describes a service that can deliver messages client for sending Messaging messages

Implementations

Constructs a MessagingSender with the specified transport

Trait Implementations

Formats the value using the given formatter. Read more

Publish - send a message The function returns after the message has been sent. If the sender expects to receive an asynchronous reply, the replyTo field should be filled with the subject for the response.

Request - send a message in a request/reply pattern, waiting for a response.

returns the capability contract id for this interface

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.