[][src]Struct teaclave_proto::teaclave_frontend_service::CreateTaskRequest

pub struct CreateTaskRequest {
    pub function_id: ExternalID,
    pub function_arguments: FunctionArguments,
    pub executor: Executor,
    pub inputs_ownership: TaskFileOwners,
    pub outputs_ownership: TaskFileOwners,
}

Fields

function_id: ExternalIDfunction_arguments: FunctionArgumentsexecutor: Executorinputs_ownership: TaskFileOwnersoutputs_ownership: TaskFileOwners

Methods

impl CreateTaskRequest[src]

pub fn new() -> Self[src]

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

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

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

pub fn inputs_ownership(self, map: impl Into<TaskFileOwners>) -> Self[src]

pub fn outputs_ownership(self, map: impl Into<TaskFileOwners>) -> Self[src]

Trait Implementations

impl Default for CreateTaskRequest[src]

impl From<CreateTaskRequest> for CreateTaskRequest[src]

impl IntoRequest<TeaclaveFrontendRequest> for CreateTaskRequest[src]

impl IntoRequest<TeaclaveManagementRequest> for CreateTaskRequest[src]

impl TryFrom<CreateTaskRequest> for CreateTaskRequest[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for CreateTaskRequest

impl Send for CreateTaskRequest

impl Sync for CreateTaskRequest

impl Unpin for CreateTaskRequest

impl UnwindSafe for CreateTaskRequest

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> IntoRequest<T> for T[src]

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

type Output = T

Should always be Self

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]