[][src]Struct maidsafe_utilities::thread::Joiner

pub struct Joiner { /* fields omitted */ }

A RAII style thread joiner. The destruction of an instance of this type will block until the thread it is managing has joined.

Implementations

impl Joiner[src]

pub fn new(joiner: JoinHandle<()>) -> Joiner[src]

Create a new instance of self-managing thread joiner

pub fn detach(self)[src]

Releases the Joiner by detaching the thread.

Trait Implementations

impl Debug for Joiner[src]

impl Drop for Joiner[src]

Auto Trait Implementations

impl !RefUnwindSafe for Joiner

impl Send for Joiner

impl Sync for Joiner

impl Unpin for Joiner

impl !UnwindSafe for Joiner

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> DebugAny for T where
    T: Any + Debug

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<T> UnsafeAny for T where
    T: Any