pub struct Options { /* private fields */ }
Expand description
By default, RPC frame and notification handlers are launched in background, which allows
non-blocking event processing, however events can be processed in random order
RPC options allow to launch handlers in blocking mode. In this case handlers must process
events as fast as possible (e.g. send them to processing channels) and avoid using any RPC
client functions from inside.
WARNING: when handling frames in blocking mode, it is forbidden to use the current RPC client
directly or with any kind of bounded channels, otherwise the RPC client may get stuck!
See https://busrt.readthedocs.io/en/latest/rpc_blocking.html
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
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.