pub struct AsyncResult<T, E> {
pub command_id: usize,
pub result: Result<T, E>,
}Fields§
§command_id: usize§result: Result<T, E>Trait Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for AsyncResult<T, E>
impl<T, E> RefUnwindSafe for AsyncResult<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for AsyncResult<T, E>
impl<T, E> Sync for AsyncResult<T, E>
impl<T, E> Unpin for AsyncResult<T, E>
impl<T, E> UnsafeUnpin for AsyncResult<T, E>where
T: UnsafeUnpin,
E: UnsafeUnpin,
impl<T, E> UnwindSafe for AsyncResult<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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