[][src]Struct foundationdb::api::NetworkRunner

pub struct NetworkRunner { /* fields omitted */ }

A foundationDB network event loop runner

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

Implementations

impl NetworkRunner[src]

pub unsafe fn run(self) -> FdbResult<()>[src]

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

impl !RefUnwindSafe for NetworkRunner

impl Send for NetworkRunner

impl Sync for NetworkRunner

impl Unpin for NetworkRunner

impl !UnwindSafe for NetworkRunner

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,