Struct tokio_unix_ipc::Bootstrapper[][src]

pub struct Bootstrapper<T> { /* 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.

Implementations

Creates a bootstrapper at a random socket in /tmp.

Creates a bootstrapper at a specific socket path.

Returns the path of the socket.

Consumes the boostrapper and sends a single value in.

This can be called multiple times to send more than one value into the inner socket.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

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 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.