pub struct PersistentPayloadWorkItem {
pub id: u32,
pub payload: Vec<u8>,
}Expand description
One unit of persistent-kernel work.
Fields§
§id: u32Stable work identifier.
payload: Vec<u8>Input payload consumed by the resident kernel.
Trait Implementations§
Source§impl Clone for PersistentPayloadWorkItem
impl Clone for PersistentPayloadWorkItem
Source§fn clone(&self) -> PersistentPayloadWorkItem
fn clone(&self) -> PersistentPayloadWorkItem
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 PersistentPayloadWorkItem
impl Debug for PersistentPayloadWorkItem
impl Eq for PersistentPayloadWorkItem
impl StructuralPartialEq for PersistentPayloadWorkItem
Auto Trait Implementations§
impl Freeze for PersistentPayloadWorkItem
impl RefUnwindSafe for PersistentPayloadWorkItem
impl Send for PersistentPayloadWorkItem
impl Sync for PersistentPayloadWorkItem
impl Unpin for PersistentPayloadWorkItem
impl UnsafeUnpin for PersistentPayloadWorkItem
impl UnwindSafe for PersistentPayloadWorkItem
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.