Struct collective::thread::handle::ThreadEndHandle
source · pub struct ThreadEndHandle { /* private fields */ }
Implementations§
source§impl ThreadEndHandle
impl ThreadEndHandle
sourcepub fn has_ended(&self) -> Result<bool>
pub fn has_ended(&self) -> Result<bool>
Attempts to check if the thread has ended.
A Error::LockRead
error may be returned if the underlying channel is
disconnected.