pub struct SharedHandle<T> { /* private fields */ }Implementations§
pub fn new(handle: JoinHandle<T>) -> SharedHandle<T>
pub async fn join(&self) -> Result<T, Arc<JoinError>>
Trait Implementations§
Auto Trait Implementations§
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