pub struct ClientThread(/* private fields */);Expand description
Wrapper around the JoinHandle returned by Client::start
Implementations§
Source§impl ClientThread
impl ClientThread
Sourcepub fn join(self) -> Result<()>
pub fn join(self) -> Result<()>
Alias of JoinHandle::join()
Sourcepub fn is_finished(&self) -> bool
pub fn is_finished(&self) -> bool
Alias of JoinHandle::is_finished
Sourcepub fn thread(&self) -> &Thread
pub fn thread(&self) -> &Thread
Alias of JoinHandle::thread
Auto Trait Implementations§
impl Freeze for ClientThread
impl !RefUnwindSafe for ClientThread
impl Send for ClientThread
impl Sync for ClientThread
impl Unpin for ClientThread
impl !UnwindSafe for ClientThread
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