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

The data is present in the given path that is relative to the executor working directory.

The data is directly contained in the message. Only reccomended for small objects (under cca 128kB).

The data is identical to one of input objects. Only valid in ResultMsg.

The input data is already cached (and possibly unpacked) in the executor. Only valid in CallMsg::inputs.

Trait Implementations

impl Clone for DataLocation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DataLocation
[src]

Formats the value using the given formatter. Read more

impl PartialEq for DataLocation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations