[][src]Struct teaclave_types::StagedFunction

pub struct StagedFunction {
    pub name: String,
    pub arguments: FunctionArguments,
    pub payload: String,
    pub input_files: StagedFiles,
    pub output_files: StagedFiles,
    pub executor_type: ExecutorType,
    pub executor: Executor,
    pub runtime_name: String,
}

Fields

name: Stringarguments: FunctionArgumentspayload: Stringinput_files: StagedFilesoutput_files: StagedFilesexecutor_type: ExecutorTypeexecutor: Executorruntime_name: String

Methods

impl StagedFunction[src]

pub fn new() -> Self[src]

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

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

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

pub fn arguments(self, arguments: FunctionArguments) -> Self[src]

pub fn input_files(self, input_files: StagedFiles) -> Self[src]

pub fn output_files(self, output_files: StagedFiles) -> Self[src]

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

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

Trait Implementations

impl Debug for StagedFunction[src]

impl Default for StagedFunction[src]

Auto Trait Implementations

impl RefUnwindSafe for StagedFunction

impl Send for StagedFunction

impl Sync for StagedFunction

impl Unpin for StagedFunction

impl UnwindSafe for StagedFunction

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> 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]