pub struct WorkResult {
pub id: u32,
pub payload: Vec<u8>,
}Expand description
Output produced for one persistent-kernel work item.
Fields§
§id: u32Stable work identifier copied from the input item.
payload: Vec<u8>Output payload produced by the kernel body.
Trait Implementations§
Source§impl Clone for WorkResult
impl Clone for WorkResult
Source§fn clone(&self) -> WorkResult
fn clone(&self) -> WorkResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkResult
impl Debug for WorkResult
impl Eq for WorkResult
Source§impl PartialEq for WorkResult
impl PartialEq for WorkResult
impl StructuralPartialEq for WorkResult
Auto Trait Implementations§
impl Freeze for WorkResult
impl RefUnwindSafe for WorkResult
impl Send for WorkResult
impl Sync for WorkResult
impl Unpin for WorkResult
impl UnsafeUnpin for WorkResult
impl UnwindSafe for WorkResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.