Struct rain_core::comm::ResultMsg [−][src]
pub struct ResultMsg { pub task: TaskId, pub success: bool, pub info: TaskInfo, pub outputs: Vec<LocalObjectOut>, pub cached_objects: Vec<DataObjectId>, }
Fields
task: TaskId
Task ID (must match CallMsg::task
)
success: bool
Task success. On false
, attributes error must be set.
info: TaskInfo
Resulting Task attributes.
outputs: Vec<LocalObjectOut>
Task outputt descriptions. In this context, LocalObjectSpec::label
should not be present,
LocalObjectSpec::cache_hint
should be missing or false.
The list must match CallMsg::outputs
lengts and on id
s.
cached_objects: Vec<DataObjectId>
If any objects with cache_hint
were sent, report which were newly cached
(does not include objects previously cached and now reported with DataLocation::Cached
).
It is always allowed to cache no object and even omit this field (for simpler executors).
Trait Implementations
impl Clone for ResultMsg
[src]
impl Clone for ResultMsg
fn clone(&self) -> ResultMsg
[src]
fn clone(&self) -> ResultMsg
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ResultMsg
[src]
impl Debug for ResultMsg
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ResultMsg
[src]
impl PartialEq for ResultMsg