Struct teaclave_types::StagedFunctionBuilder
source · [−]pub struct StagedFunctionBuilder { /* private fields */ }
Implementations
sourceimpl StagedFunctionBuilder
impl StagedFunctionBuilder
pub fn new() -> Self
pub fn name(self, name: impl ToString) -> Self
pub fn executor(self, executor: Executor) -> Self
pub fn payload(self, payload: Vec<u8>) -> Self
pub fn arguments(self, arguments: FunctionArguments) -> Self
pub fn input_files(self, input_files: StagedFiles) -> Self
pub fn output_files(self, output_files: StagedFiles) -> Self
pub fn runtime_name(self, runtime_name: impl ToString) -> Self
pub fn executor_type(self, executor_type: ExecutorType) -> Self
pub fn build(self) -> StagedFunction
Trait Implementations
sourceimpl Default for StagedFunctionBuilder
impl Default for StagedFunctionBuilder
sourcefn default() -> StagedFunctionBuilder
fn default() -> StagedFunctionBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for StagedFunctionBuilder
impl Send for StagedFunctionBuilder
impl Sync for StagedFunctionBuilder
impl Unpin for StagedFunctionBuilder
impl UnwindSafe for StagedFunctionBuilder
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request