[]Struct teaclave_client_sdk::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

pub fn new() -> CreateTaskRequest

pub fn function_id(self, function_id: ExternalID) -> CreateTaskRequest

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

pub fn executor(self, executor: Executor) -> CreateTaskRequest

pub fn inputs_ownership(
    map: impl Into<TaskFileOwners>
) -> CreateTaskRequest

pub fn outputs_ownership(
    map: impl Into<TaskFileOwners>
) -> CreateTaskRequest

Trait Implementations

impl Default for CreateTaskRequest

impl IntoRequest<TeaclaveFrontendRequest> for CreateTaskRequest

impl IntoRequest<TeaclaveManagementRequest> for CreateTaskRequest

impl TryFrom<CreateTaskRequest> for CreateTaskRequest

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

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