pub struct Submission<T, C> {
pub output: T,
pub completion: C,
}Expand description
Output and exact completion returned by a backend submission.
Fields§
§output: TBackend-owned output value.
completion: CCompletion retaining everything needed by the submitted work.
Implementations§
Source§impl<T, C> Submission<T, C>where
C: Completion,
impl<T, C> Submission<T, C>where
C: Completion,
Trait Implementations§
Auto Trait Implementations§
impl<T, C> Freeze for Submission<T, C>
impl<T, C> RefUnwindSafe for Submission<T, C>where
T: RefUnwindSafe,
C: RefUnwindSafe,
impl<T, C> Send for Submission<T, C>
impl<T, C> Sync for Submission<T, C>
impl<T, C> Unpin for Submission<T, C>
impl<T, C> UnsafeUnpin for Submission<T, C>where
T: UnsafeUnpin,
C: UnsafeUnpin,
impl<T, C> UnwindSafe for Submission<T, C>where
T: UnwindSafe,
C: 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