Struct lrs::thread::JoinGuard

A join-guard

Syntax

struct JoinGuard<'a> {
    /* private fields */
}

Trait implementations

NameDescription
Drop

Objects with a destructor.

Leak

Objects that can be leaked without causing memory unsafety.

Remarks

Note that this is !Leak because it allows other threads to reference objects on our stack and those threads have to be joined before the end of the objects' lifetimes.