Struct tokio_unix_ipc::Bootstrapper [−][src]
pub struct Bootstrapper { /* fields omitted */ }Expand description
A bootstrap helper.
This creates a unix socket that is linked to the file system so
that a Receiver can connect to it. It
lets you send one or more messages to the connected receiver.
The bootstrapper lets you send both to raw and typed receivers
on the other side. To send to a raw one use the
send_raw method.
Implementations
Creates a bootstrapper at a random socket in /tmp.
Creates a bootstrapper at a specific socket path.
Sends a raw value into the boostrapper.
This can be called multiple times to send more than one value
into the inner socket. On the other side a
RawReceiver must be used.