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


function_id: ExternalIDfunction_arguments: FunctionArgumentsexecutor: Executorinputs_ownership: TaskFileOwnersoutputs_ownership: TaskFileOwners


impl CreateTaskRequest[src]

pub fn new() -> Self[src]

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

pub fn function_arguments(
    function_arguments: impl Into<FunctionArguments>
) -> Self

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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