pub struct MessageReply<F>(_, _);
Expand description

The struct returned from Connection::send_and_reply.

It implements the MsgHandler trait so you can use Connection::add_handler.

Trait Implementations

Type of messages for which the handler will be called Read more
Function to be called if the message matches the MsgHandlerType

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.