pub struct TaskOutputSpec {
pub task_id: &'static str,
pub msg_type: &'static str,
pub payload_type_path_fn: fn() -> &'static str,
}Expand description
Trait to trace back from the CopperList the origin of each message slot.
The returned slice must be aligned with ErasedCuStampedDataSet::cumsgs():
index i maps to copperlist slot i.
Fields§
§task_id: &'static str§msg_type: &'static str§payload_type_path_fn: fn() -> &'static strImplementations§
Source§impl TaskOutputSpec
impl TaskOutputSpec
pub fn payload_type_path(&self) -> &'static str
Trait Implementations§
Source§impl Clone for TaskOutputSpec
impl Clone for TaskOutputSpec
Source§fn clone(&self) -> TaskOutputSpec
fn clone(&self) -> TaskOutputSpec
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 moreimpl Copy for TaskOutputSpec
Auto Trait Implementations§
impl Freeze for TaskOutputSpec
impl RefUnwindSafe for TaskOutputSpec
impl Send for TaskOutputSpec
impl Sync for TaskOutputSpec
impl Unpin for TaskOutputSpec
impl UnsafeUnpin for TaskOutputSpec
impl UnwindSafe for TaskOutputSpec
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