Enum rain_core::comm::DataLocation [−][src]
pub enum DataLocation { Path(PathBuf), Memory(Vec<u8>), OtherObject(DataObjectId), Cached, }
Data location of inputs and outputs in LocalObjectSpec::location
.
Variants
Path(PathBuf)
The data is present in the given path that is relative to the executor working directory.
Memory(Vec<u8>)
The data is directly contained in the message. Only reccomended for small objects (under cca 128kB).
OtherObject(DataObjectId)
The data is identical to one of input objects.
Only valid in ResultMsg
.
Cached
The input data is already cached (and possibly unpacked) in the executor.
Only valid in CallMsg::inputs
.
Trait Implementations
impl Clone for DataLocation
[src]
impl Clone for DataLocation
fn clone(&self) -> DataLocation
[src]
fn clone(&self) -> DataLocation
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 DataLocation
[src]
impl Debug for DataLocation
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 DataLocation
[src]
impl PartialEq for DataLocation
fn eq(&self, other: &DataLocation) -> bool
[src]
fn eq(&self, other: &DataLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DataLocation) -> bool
[src]
fn ne(&self, other: &DataLocation) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for DataLocation
impl Send for DataLocation
impl Sync for DataLocation
impl Sync for DataLocation