pub struct NetworkRunner { /* private fields */ }
Expand description

A foundationDB network event loop runner

Most of the time you should never need to use this directly and use boot().

Implementations

Start the foundationDB network event loop in the current thread.

Safety

This method is unsafe because you MUST call the stop method on the associated NetworkStop before the program exit.

This will only returns once the stop method on the associated NetworkStop object is called or if the foundationDB event loop return an error.

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.