pub struct AnonymousPublisher<C: Clock, M, T: Transmitter<C::Instant>> { /* private fields */ }
Expand description

A transmitter that sends anonymous messages and does not require a node ID

Anonymous nodes have some limitations:

  • They can only send messages, not service requests or responses
  • They cannot send multi-frame messages

Implementations

Creates an anonymous message publisher

Prepares an anonymous message for sending and pushes it into the provided transmitter

This function returns an error if the message is too long to fit into one frame, or if memory allocation fails.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.