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.
Auto Trait Implementations§
impl Freeze for ThreadEndHandle
impl RefUnwindSafe for ThreadEndHandle
impl Send for ThreadEndHandle
impl Sync for ThreadEndHandle
impl Unpin for ThreadEndHandle
impl UnwindSafe for ThreadEndHandle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more