pub struct AsyncWaitResult<V: Send + 'static>(pub Arc<RefCell<Option<Result<V>>>>);Expand description
等待异步任务运行的结果
Tuple Fields§
§0: Arc<RefCell<Option<Result<V>>>>Trait Implementations§
Source§impl<V: Send + 'static> Clone for AsyncWaitResult<V>
impl<V: Send + 'static> Clone for AsyncWaitResult<V>
impl<V: Send + 'static> Send for AsyncWaitResult<V>
impl<V: Send + 'static> Sync for AsyncWaitResult<V>
Auto Trait Implementations§
impl<V> Freeze for AsyncWaitResult<V>
impl<V> !RefUnwindSafe for AsyncWaitResult<V>
impl<V> Unpin for AsyncWaitResult<V>
impl<V> !UnwindSafe for AsyncWaitResult<V>
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