[][src]Struct teaclave_types::StagedTask

pub struct StagedTask {
    pub task_id: Uuid,
    pub function_id: Uuid,
    pub executor: Executor,
    pub executor_type: ExecutorType,
    pub function_name: String,
    pub function_arguments: FunctionArguments,
    pub function_payload: Vec<u8>,
    pub input_data: FunctionInputFiles,
    pub output_data: FunctionOutputFiles,
}

Fields

task_id: Uuidfunction_id: Uuidexecutor: Executorexecutor_type: ExecutorTypefunction_name: Stringfunction_arguments: FunctionArgumentsfunction_payload: Vec<u8>input_data: FunctionInputFilesoutput_data: FunctionOutputFiles

Methods

impl StagedTask[src]

pub fn new() -> Self[src]

pub fn task_id(self, task_id: Uuid) -> Self[src]

pub fn function_id(self, function_id: Uuid) -> Self[src]

pub fn executor(self, executor: Executor) -> Self[src]

pub fn function_name(self, name: impl ToString) -> Self[src]

pub fn function_arguments(
    self,
    function_arguments: impl Into<FunctionArguments>
) -> Self
[src]

pub fn function_payload(self, function_payload: Vec<u8>) -> Self[src]

pub fn input_data(self, input_data: impl Into<FunctionInputFiles>) -> Self[src]

pub fn output_data(self, output_data: impl Into<FunctionOutputFiles>) -> Self[src]

pub fn executor_type(self, executor_type: ExecutorType) -> Self[src]

pub fn get_queue_key() -> &'static str[src]

Trait Implementations

impl Debug for StagedTask[src]

impl Default for StagedTask[src]

impl<'de> Deserialize<'de> for StagedTask[src]

impl Serialize for StagedTask[src]

impl Storable for StagedTask[src]

Auto Trait Implementations

impl RefUnwindSafe for StagedTask

impl Send for StagedTask

impl Sync for StagedTask

impl Unpin for StagedTask

impl UnwindSafe for StagedTask

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]