[][src]Struct heed::EnvClosingEvent

pub struct EnvClosingEvent(_);

Implementations

impl EnvClosingEvent[src]

pub fn wait(&self)[src]

Blocks this thread until the environment is effectively closed.

Safety

Make sure that you don't have any copy of the environment in the thread that is waiting for a close event, if you do, you will have a dead-lock.

pub fn wait_timeout(&self, timeout: Duration) -> bool[src]

Blocks this thread until either the environment has been closed or until the timeout elapses, returns true if the environment has been effectively closed.

Trait Implementations

impl Clone for EnvClosingEvent[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.