[][src]Struct teaclave_proto::teaclave_frontend_service_proto::TeaclaveFrontendClient

pub struct TeaclaveFrontendClient { /* fields omitted */ }

Methods

impl TeaclaveFrontendClient[src]

pub fn new(
    channel: SgxTrustedTlsChannel<TeaclaveFrontendRequest, TeaclaveFrontendResponse>
) -> Result<Self>
[src]

pub fn new_with_metadata(
    channel: SgxTrustedTlsChannel<TeaclaveFrontendRequest, TeaclaveFrontendResponse>,
    metadata: HashMap<String, String>
) -> Result<Self>
[src]

pub fn register_input_file<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<RegisterInputFileResponse>
[src]

pub fn register_output_file<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<RegisterOutputFileResponse>
[src]

pub fn update_input_file<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<UpdateInputFileResponse>
[src]

pub fn update_output_file<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<UpdateOutputFileResponse>
[src]

pub fn register_fusion_output<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<RegisterFusionOutputResponse>
[src]

pub fn register_input_from_output<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<RegisterInputFromOutputResponse>
[src]

pub fn get_output_file<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<GetOutputFileResponse>
[src]

pub fn get_input_file<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<GetInputFileResponse>
[src]

pub fn register_function<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<RegisterFunctionResponse>
[src]

pub fn get_function<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<GetFunctionResponse>
[src]

pub fn create_task<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<CreateTaskResponse>
[src]

pub fn get_task<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<GetTaskResponse>
[src]

pub fn assign_data<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<AssignDataResponse>
[src]

pub fn approve_task<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<ApproveTaskResponse>
[src]

pub fn invoke_task<T: IntoRequest<TeaclaveFrontendRequest>>(
    &mut self,
    request: T
) -> TeaclaveServiceResponseResult<InvokeTaskResponse>
[src]

pub fn metadata(&self) -> &HashMap<String, String>[src]

pub fn metadata_mut(&mut self) -> &mut HashMap<String, String>[src]

pub fn set_metadata(&mut self, metadata: HashMap<String, String>)[src]

Auto Trait Implementations

impl !RefUnwindSafe for TeaclaveFrontendClient

impl Send for TeaclaveFrontendClient

impl Sync for TeaclaveFrontendClient

impl Unpin for TeaclaveFrontendClient

impl !UnwindSafe for TeaclaveFrontendClient

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]