From b233cb7f9e6423d1cd001cfce4c69ad6f7f9997f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 20 May 2024 20:08:28 +0000 Subject: [PATCH] Update gh-pages from 73edbf1f8a5e768860ac18214cdb69ff9a8ec2c1 --- doc/doc/help.html | 4 +- doc/doc/oak_attestation_explain/index.html | 2 +- .../trait.HumanReadableExplanation.html | 6 +- .../trait.HumanReadableTitle.html | 6 +- .../struct.UntrustedApp.html | 6 +- .../log_relay/fn.run.html | 2 +- .../fn.serve.html | 6 +- .../native_handler/struct.NativeHandler.html | 8 +- .../struct.OakFunctionsClient.html | 28 +++--- .../trait.OakFunctions.html | 60 ++++++------ .../struct.OakFunctionsContainersService.html | 46 +++++----- .../struct.UntrustedApp.html | 4 +- doc/doc/settings.html | 4 +- .../src/oak_attestation_explain/lib.rs.html | 92 ++++++++++++++----- doc/doc/trait.impl/core/marker/trait.Send.js | 2 +- doc/doc/trait.impl/core/marker/trait.Sync.js | 2 +- doc/doc/trait.impl/core/marker/trait.Unpin.js | 2 +- .../oak_functions_service/trait.Handler.js | 2 +- 18 files changed, 163 insertions(+), 119 deletions(-) diff --git a/doc/doc/help.html b/doc/doc/help.html index dab55b4af85..324c31e5eea 100644 --- a/doc/doc/help.html +++ b/doc/doc/help.html @@ -1,2 +1,2 @@ -Help -

Rustdoc help

Back
\ No newline at end of file +Help +

Rustdoc help

Back
\ No newline at end of file diff --git a/doc/doc/oak_attestation_explain/index.html b/doc/doc/oak_attestation_explain/index.html index 6a34aab1fc7..ba81e89f898 100644 --- a/doc/doc/oak_attestation_explain/index.html +++ b/doc/doc/oak_attestation_explain/index.html @@ -1,3 +1,3 @@ oak_attestation_explain - Rust -

Traits§

\ No newline at end of file +

Traits§

\ No newline at end of file diff --git a/doc/doc/oak_attestation_explain/trait.HumanReadableExplanation.html b/doc/doc/oak_attestation_explain/trait.HumanReadableExplanation.html index a151b3329ca..e2802823cbf 100644 --- a/doc/doc/oak_attestation_explain/trait.HumanReadableExplanation.html +++ b/doc/doc/oak_attestation_explain/trait.HumanReadableExplanation.html @@ -1,7 +1,7 @@ HumanReadableExplanation in oak_attestation_explain - Rust -
pub trait HumanReadableExplanation {
+    
pub trait HumanReadableExplanation {
     // Required method
     fn description(&self) -> Result<String, Error>;
-}

Required Methods§

source

fn description(&self) -> Result<String, Error>

Provides human readable explanations for a layer of an attestation data +}

Required Methods§

source

fn description(&self) -> Result<String, Error>

Provides human readable explanations for a layer of an attestation data stack, including directions to map the attestation data to source code.

-

Implementations on Foreign Types§

source§

impl HumanReadableExplanation for ApplicationLayerData

source§

impl HumanReadableExplanation for ApplicationLayerReferenceValues

source§

impl HumanReadableExplanation for ContainerLayerData

source§

impl HumanReadableExplanation for ContainerLayerReferenceValues

source§

impl HumanReadableExplanation for KernelLayerData

source§

impl HumanReadableExplanation for KernelLayerReferenceValues

source§

impl HumanReadableExplanation for ReferenceValues

source§

impl HumanReadableExplanation for RootLayerData

source§

impl HumanReadableExplanation for RootLayerReferenceValues

source§

impl HumanReadableExplanation for SystemLayerData

source§

impl HumanReadableExplanation for SystemLayerReferenceValues

Implementors§

\ No newline at end of file +

Implementations on Foreign Types§

source§

impl HumanReadableExplanation for ApplicationLayerData

source§

impl HumanReadableExplanation for ApplicationLayerReferenceValues

source§

impl HumanReadableExplanation for ContainerLayerData

source§

impl HumanReadableExplanation for ContainerLayerReferenceValues

source§

impl HumanReadableExplanation for KernelLayerData

source§

impl HumanReadableExplanation for KernelLayerReferenceValues

source§

impl HumanReadableExplanation for ReferenceValues

source§

impl HumanReadableExplanation for RootLayerData

source§

impl HumanReadableExplanation for RootLayerReferenceValues

source§

impl HumanReadableExplanation for SystemLayerData

source§

impl HumanReadableExplanation for SystemLayerReferenceValues

Implementors§

\ No newline at end of file diff --git a/doc/doc/oak_attestation_explain/trait.HumanReadableTitle.html b/doc/doc/oak_attestation_explain/trait.HumanReadableTitle.html index d702d6f628d..02538db1181 100644 --- a/doc/doc/oak_attestation_explain/trait.HumanReadableTitle.html +++ b/doc/doc/oak_attestation_explain/trait.HumanReadableTitle.html @@ -1,7 +1,7 @@ HumanReadableTitle in oak_attestation_explain - Rust -
pub trait HumanReadableTitle {
+    
pub trait HumanReadableTitle {
     // Required method
     fn title(&self) -> Result<String, Error>;
 }
Expand description

Provides human readable explanations for attestation data.

-

Required Methods§

source

fn title(&self) -> Result<String, Error>

Concise title, eg. “Oak Containers Stack in a AMD SEV-SNP TEE”.

-

Implementations on Foreign Types§

source§

impl HumanReadableTitle for ApplicationLayerData

source§

impl HumanReadableTitle for ApplicationLayerReferenceValues

source§

impl HumanReadableTitle for ContainerLayerData

source§

impl HumanReadableTitle for ContainerLayerReferenceValues

source§

impl HumanReadableTitle for KernelLayerData

source§

impl HumanReadableTitle for KernelLayerReferenceValues

source§

impl HumanReadableTitle for OakContainersData

source§

impl HumanReadableTitle for OakContainersReferenceValues

source§

impl HumanReadableTitle for OakRestrictedKernelData

source§

impl HumanReadableTitle for OakRestrictedKernelReferenceValues

source§

impl HumanReadableTitle for ReferenceValues

source§

impl HumanReadableTitle for RootLayerData

source§

impl HumanReadableTitle for RootLayerReferenceValues

source§

impl HumanReadableTitle for SystemLayerData

source§

impl HumanReadableTitle for SystemLayerReferenceValues

Implementors§

\ No newline at end of file +

Required Methods§

source

fn title(&self) -> Result<String, Error>

Concise title, eg. “Oak Containers Stack in a AMD SEV-SNP TEE”.

+

Implementations on Foreign Types§

source§

impl HumanReadableTitle for ApplicationLayerData

source§

impl HumanReadableTitle for ApplicationLayerReferenceValues

source§

impl HumanReadableTitle for ContainerLayerData

source§

impl HumanReadableTitle for ContainerLayerReferenceValues

source§

impl HumanReadableTitle for KernelLayerData

source§

impl HumanReadableTitle for KernelLayerReferenceValues

source§

impl HumanReadableTitle for OakContainersData

source§

impl HumanReadableTitle for OakContainersReferenceValues

source§

impl HumanReadableTitle for OakRestrictedKernelData

source§

impl HumanReadableTitle for OakRestrictedKernelReferenceValues

source§

impl HumanReadableTitle for ReferenceValues

source§

impl HumanReadableTitle for RootLayerData

source§

impl HumanReadableTitle for RootLayerReferenceValues

source§

impl HumanReadableTitle for SystemLayerData

source§

impl HumanReadableTitle for SystemLayerReferenceValues

Implementors§

\ No newline at end of file diff --git a/doc/doc/oak_containers_hello_world_untrusted_app/struct.UntrustedApp.html b/doc/doc/oak_containers_hello_world_untrusted_app/struct.UntrustedApp.html index 27d199195b0..c1632f011bd 100644 --- a/doc/doc/oak_containers_hello_world_untrusted_app/struct.UntrustedApp.html +++ b/doc/doc/oak_containers_hello_world_untrusted_app/struct.UntrustedApp.html @@ -1,8 +1,8 @@ UntrustedApp in oak_containers_hello_world_untrusted_app - Rust -
pub struct UntrustedApp { /* private fields */ }

Implementations§

source§

impl UntrustedApp

source

pub async fn create(launcher_args: Args) -> Result<Self, Box<dyn Error>>

source

pub async fn get_endorsed_evidence(&mut self) -> Result<EndorsedEvidence>

source

pub async fn get_group_keys( +
pub struct UntrustedApp { /* private fields */ }

Implementations§

source§

impl UntrustedApp

source

pub async fn create(launcher_args: Args) -> Result<Self, Box<dyn Error>>

source

pub async fn get_endorsed_evidence(&mut self) -> Result<EndorsedEvidence>

source

pub async fn get_group_keys( &mut self, - request: GetGroupKeysRequest -) -> Result<GetGroupKeysResponse>

source

pub async fn hello( + request: GetGroupKeysRequest +) -> Result<GetGroupKeysResponse>

source

pub async fn hello( &mut self, encrypted_request: EncryptedRequest ) -> Result<EncryptedResponse>

source

pub async fn kill(&mut self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/doc/doc/oak_containers_syslogd/log_relay/fn.run.html b/doc/doc/oak_containers_syslogd/log_relay/fn.run.html index e28de5b44cf..47309e1e452 100644 --- a/doc/doc/oak_containers_syslogd/log_relay/fn.run.html +++ b/doc/doc/oak_containers_syslogd/log_relay/fn.run.html @@ -1,5 +1,5 @@ run in oak_containers_syslogd::log_relay - Rust
pub async fn run(
-    launcher_client: LauncherClient,
+    launcher_client: LauncherClient,
     terminate: Arc<OnceCell<()>>
 ) -> Result<()>
\ No newline at end of file diff --git a/doc/doc/oak_functions_containers_app/fn.serve.html b/doc/doc/oak_functions_containers_app/fn.serve.html index 8b3a42fc8fc..3c52db50fb7 100644 --- a/doc/doc/oak_functions_containers_app/fn.serve.html +++ b/doc/doc/oak_functions_containers_app/fn.serve.html @@ -3,9 +3,9 @@ stream: Box<dyn Stream<Item = Result<impl Connected + AsyncRead + AsyncWrite + Send + Unpin + 'static, impl Error + Send + Sync + 'static>> + Send + Unpin>, encryption_key_handle: Box<dyn AsyncEncryptionKeyHandle + Send + Sync>, meter: Meter, - handler_config: H::HandlerConfig + handler_config: H::HandlerConfig ) -> Result<()>
where - H: Handler + 'static, - H::HandlerType: Send + Sync,
Expand description

Starts up and serves an OakFunctionsContainersService instance from the + H: Handler + 'static, + H::HandlerType: Send + Sync,

Expand description

Starts up and serves an OakFunctionsContainersService instance from the provided stream of connections.

\ No newline at end of file diff --git a/doc/doc/oak_functions_containers_app/native_handler/struct.NativeHandler.html b/doc/doc/oak_functions_containers_app/native_handler/struct.NativeHandler.html index 68968f1f710..d1e7cbe2177 100644 --- a/doc/doc/oak_functions_containers_app/native_handler/struct.NativeHandler.html +++ b/doc/doc/oak_functions_containers_app/native_handler/struct.NativeHandler.html @@ -1,18 +1,18 @@ NativeHandler in oak_functions_containers_app::native_handler - Rust
pub struct NativeHandler { /* private fields */ }
Expand description

Variant of a Handler that dynamically loads a .so file and invokes native code to handle requests from there.

-

Trait Implementations§

source§

impl Handler for NativeHandler

Trait Implementations§

source§

impl Handler for NativeHandler

source§

fn new_handler( _config: (), module_bytes: &[u8], - lookup_data_manager: Arc<LookupDataManager<16>>, - observer: Option<Arc<dyn Observer + Send + Sync>> + lookup_data_manager: Arc<LookupDataManager<16>>, + observer: Option<Arc<dyn Observer + Send + Sync>> ) -> Result<NativeHandler>

Creates a new native handler.

The module is expected to be a dynamically loadable shared object, which we load using dlopen().

Safety: It’s up to the caller to guarantee that said shared object adheres to the semantics we require. This method should really be marked unsafe because of that.

-
§

type HandlerType = NativeHandler

§

type HandlerConfig = ()

source§

fn handle_invoke(&self, invoke_request: Request) -> Result<Response, Status>

Handles a call to invoke by getting the raw request bytes from the body +
§

type HandlerType = NativeHandler

§

type HandlerConfig = ()

source§

fn handle_invoke(&self, invoke_request: Request) -> Result<Response, Status>

Handles a call to invoke by getting the raw request bytes from the body of the request to invoke and returns a reponse to invoke setting the raw bytes in the body of the response.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_client/struct.OakFunctionsClient.html b/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_client/struct.OakFunctionsClient.html index 17ac5ca8c01..9940e04d986 100644 --- a/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_client/struct.OakFunctionsClient.html +++ b/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_client/struct.OakFunctionsClient.html @@ -23,45 +23,45 @@

Default: usize::MAX

source

pub async fn initialize( &mut self, - request: impl IntoRequest<InitializeRequest> -) -> Result<Response<InitializeResponse>, Status>

Initializes the service and remote attestation keys.

+ request: impl IntoRequest<InitializeRequest> +) -> Result<Response<InitializeResponse>, Status>

Initializes the service and remote attestation keys.

method_id: 0

source

pub async fn handle_user_request( &mut self, - request: impl IntoRequest<InvokeRequest> -) -> Result<Response<InvokeResponse>, Status>

Handles an invocation coming from a client.

+ request: impl IntoRequest<InvokeRequest> +) -> Result<Response<InvokeResponse>, Status>

Handles an invocation coming from a client.

method_id: 1

source

pub async fn extend_next_lookup_data( &mut self, - request: impl IntoRequest<ExtendNextLookupDataRequest> -) -> Result<Response<ExtendNextLookupDataResponse>, Status>

Extends the next lookup data by the given chunk of lookup data. Only + request: impl IntoRequest<ExtendNextLookupDataRequest> +) -> Result<Response<ExtendNextLookupDataResponse>, Status>

Extends the next lookup data by the given chunk of lookup data. Only after the sender calls finishes building the next lookup data, the receiver replaces the current lookup data with the next lookup data, and only then chunk is will be served in lookups.

method_id: 2

source

pub async fn finish_next_lookup_data( &mut self, - request: impl IntoRequest<FinishNextLookupDataRequest> -) -> Result<Response<FinishNextLookupDataResponse>, Status>

Finishes building the next lookup data with the given chunk of lookup data. + request: impl IntoRequest<FinishNextLookupDataRequest> +) -> Result<Response<FinishNextLookupDataResponse>, Status>

Finishes building the next lookup data with the given chunk of lookup data. The receiver replaces the current lookup data and the next lookup data will be served in lookups.

method_id: 3

source

pub async fn abort_next_lookup_data( &mut self, - request: impl IntoRequest<Empty> -) -> Result<Response<AbortNextLookupDataResponse>, Status>

Aborts building the next lookup data.option

+ request: impl IntoRequest<Empty> +) -> Result<Response<AbortNextLookupDataResponse>, Status>

Aborts building the next lookup data.option

method_id: 4

source

pub async fn stream_lookup_data( &mut self, - request: impl IntoStreamingRequest<Message = LookupDataChunk> -) -> Result<Response<FinishNextLookupDataResponse>, Status>

Streaming version combining ExtendNextLookupData and + request: impl IntoStreamingRequest<Message = LookupDataChunk> +) -> Result<Response<FinishNextLookupDataResponse>, Status>

Streaming version combining ExtendNextLookupData and FinishNextLookupData.

This is mainly for use with gRPC, as microRPC doesn’t support streaming.

method_id: 5

source

pub async fn reserve( &mut self, - request: impl IntoRequest<ReserveRequest> -) -> Result<Response<ReserveResponse>, Status>

Reserves additional capacity for entries in the lookup table.

+ request: impl IntoRequest<ReserveRequest> +) -> Result<Response<ReserveResponse>, Status>

Reserves additional capacity for entries in the lookup table.

It should be called before ExtendNextLookupData/StreamLookupData to reduce the number of memory allocations, but it’s not mandatory to call this RPC.

diff --git a/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_server/trait.OakFunctions.html b/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_server/trait.OakFunctions.html index 3fa5f3ce601..8728bedb26a 100644 --- a/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_server/trait.OakFunctions.html +++ b/doc/doc/oak_functions_containers_app/proto/oak/functions/oak_functions_server/trait.OakFunctions.html @@ -3,65 +3,65 @@ // Required methods fn initialize<'life0, 'async_trait>( &'life0 self, - request: Request<InitializeRequest> - ) -> Pin<Box<dyn Future<Output = Result<Response<InitializeResponse>, Status>> + Send + 'async_trait>> + request: Request<InitializeRequest> + ) -> Pin<Box<dyn Future<Output = Result<Response<InitializeResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn handle_user_request<'life0, 'async_trait>( &'life0 self, - request: Request<InvokeRequest> - ) -> Pin<Box<dyn Future<Output = Result<Response<InvokeResponse>, Status>> + Send + 'async_trait>> + request: Request<InvokeRequest> + ) -> Pin<Box<dyn Future<Output = Result<Response<InvokeResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn extend_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<ExtendNextLookupDataRequest> - ) -> Pin<Box<dyn Future<Output = Result<Response<ExtendNextLookupDataResponse>, Status>> + Send + 'async_trait>> + request: Request<ExtendNextLookupDataRequest> + ) -> Pin<Box<dyn Future<Output = Result<Response<ExtendNextLookupDataResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn finish_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<FinishNextLookupDataRequest> - ) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>> + request: Request<FinishNextLookupDataRequest> + ) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn abort_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<Empty> - ) -> Pin<Box<dyn Future<Output = Result<Response<AbortNextLookupDataResponse>, Status>> + Send + 'async_trait>> + request: Request<Empty> + ) -> Pin<Box<dyn Future<Output = Result<Response<AbortNextLookupDataResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn stream_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<Streaming<LookupDataChunk>> - ) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>> + request: Request<Streaming<LookupDataChunk>> + ) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn reserve<'life0, 'async_trait>( &'life0 self, - request: Request<ReserveRequest> - ) -> Pin<Box<dyn Future<Output = Result<Response<ReserveResponse>, Status>> + Send + 'async_trait>> + request: Request<ReserveRequest> + ) -> Pin<Box<dyn Future<Output = Result<Response<ReserveResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with OakFunctionsServer.

Required Methods§

source

fn initialize<'life0, 'async_trait>( &'life0 self, - request: Request<InitializeRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<InitializeResponse>, Status>> + Send + 'async_trait>>
where + request: Request<InitializeRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<InitializeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Initializes the service and remote attestation keys.

method_id: 0

source

fn handle_user_request<'life0, 'async_trait>( &'life0 self, - request: Request<InvokeRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<InvokeResponse>, Status>> + Send + 'async_trait>>
where + request: Request<InvokeRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<InvokeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Handles an invocation coming from a client.

method_id: 1

source

fn extend_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<ExtendNextLookupDataRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<ExtendNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where + request: Request<ExtendNextLookupDataRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<ExtendNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Extends the next lookup data by the given chunk of lookup data. Only after the sender calls finishes building the next lookup data, the receiver @@ -70,8 +70,8 @@

method_id: 2

source

fn finish_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<FinishNextLookupDataRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where + request: Request<FinishNextLookupDataRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Finishes building the next lookup data with the given chunk of lookup data. The receiver replaces the current lookup data and the next lookup data will @@ -79,15 +79,15 @@

method_id: 3

source

fn abort_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<Empty> -) -> Pin<Box<dyn Future<Output = Result<Response<AbortNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where + request: Request<Empty> +) -> Pin<Box<dyn Future<Output = Result<Response<AbortNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Aborts building the next lookup data.option

method_id: 4

source

fn stream_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<Streaming<LookupDataChunk>> -) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where + request: Request<Streaming<LookupDataChunk>> +) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Streaming version combining ExtendNextLookupData and FinishNextLookupData.

@@ -95,8 +95,8 @@

method_id: 5

source

fn reserve<'life0, 'async_trait>( &'life0 self, - request: Request<ReserveRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<ReserveResponse>, Status>> + Send + 'async_trait>>
where + request: Request<ReserveRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<ReserveResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Reserves additional capacity for entries in the lookup table.

It should be called before ExtendNextLookupData/StreamLookupData to @@ -104,5 +104,5 @@ this RPC.

method_id: 6

Implementors§

source§

impl<H> OakFunctions for OakFunctionsContainersService<H>
where - H: Handler + 'static, - H::HandlerType: Send + Sync,

\ No newline at end of file + H: Handler + 'static, + H::HandlerType: Send + Sync, \ No newline at end of file diff --git a/doc/doc/oak_functions_containers_app/struct.OakFunctionsContainersService.html b/doc/doc/oak_functions_containers_app/struct.OakFunctionsContainersService.html index b219e6995df..15c9b9623fd 100644 --- a/doc/doc/oak_functions_containers_app/struct.OakFunctionsContainersService.html +++ b/doc/doc/oak_functions_containers_app/struct.OakFunctionsContainersService.html @@ -1,56 +1,56 @@ OakFunctionsContainersService in oak_functions_containers_app - Rust -
pub struct OakFunctionsContainersService<H: Handler> { /* private fields */ }

Implementations§

source§

impl<H: Handler> OakFunctionsContainersService<H>

source

pub fn new( - instance_config: H::HandlerConfig, +
pub struct OakFunctionsContainersService<H: Handler> { /* private fields */ }

Implementations§

source§

impl<H: Handler> OakFunctionsContainersService<H>

source

pub fn new( + instance_config: H::HandlerConfig, encryption_key_handle: Arc<dyn AsyncEncryptionKeyHandle + Send + Sync>, - observer: Option<Arc<dyn Observer + Send + Sync>> + observer: Option<Arc<dyn Observer + Send + Sync>> ) -> Self

Trait Implementations§

source§

impl<H> OakFunctions for OakFunctionsContainersService<H>
where - H: Handler + 'static, - H::HandlerType: Send + Sync,

source§

fn initialize<'life0, 'async_trait>( + H: Handler + 'static, + H::HandlerType: Send + Sync,

source§

fn initialize<'life0, 'async_trait>( &'life0 self, - request: Request<InitializeRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<InitializeResponse>>> + Send + 'async_trait>>
where + request: Request<InitializeRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<InitializeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Initializes the service and remote attestation keys. Read more
source§

fn handle_user_request<'life0, 'async_trait>( &'life0 self, - request: Request<InvokeRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<InvokeResponse>>> + Send + 'async_trait>>
where + request: Request<InvokeRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<InvokeResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Handles an invocation coming from a client. Read more
source§

fn extend_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<ExtendNextLookupDataRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<ExtendNextLookupDataResponse>>> + Send + 'async_trait>>
where + request: Request<ExtendNextLookupDataRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<ExtendNextLookupDataResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Extends the next lookup data by the given chunk of lookup data. Only after the sender calls finishes building the next lookup data, the receiver replaces the current lookup data with the next lookup data, and only then chunk is will be served in lookups. Read more
source§

fn finish_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<FinishNextLookupDataRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>>> + Send + 'async_trait>>
where + request: Request<FinishNextLookupDataRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Finishes building the next lookup data with the given chunk of lookup data. The receiver replaces the current lookup data and the next lookup data will be served in lookups. Read more
source§

fn abort_next_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<Empty> -) -> Pin<Box<dyn Future<Output = Result<Response<AbortNextLookupDataResponse>>> + Send + 'async_trait>>
where + request: Request<Empty> +) -> Pin<Box<dyn Future<Output = Result<Response<AbortNextLookupDataResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Aborts building the next lookup data.option Read more
source§

fn stream_lookup_data<'life0, 'async_trait>( &'life0 self, - request: Request<Streaming<LookupDataChunk>> -) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>>> + Send + 'async_trait>>
where + request: Request<Streaming<LookupDataChunk>> +) -> Pin<Box<dyn Future<Output = Result<Response<FinishNextLookupDataResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Streaming version combining ExtendNextLookupData and FinishNextLookupData. Read more
source§

fn reserve<'life0, 'async_trait>( &'life0 self, - request: Request<ReserveRequest> -) -> Pin<Box<dyn Future<Output = Result<Response<ReserveResponse>>> + Send + 'async_trait>>
where + request: Request<ReserveRequest> +) -> Pin<Box<dyn Future<Output = Result<Response<ReserveResponse>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Reserves additional capacity for entries in the lookup table. Read more

Auto Trait Implementations§

§

impl<H> !RefUnwindSafe for OakFunctionsContainersService<H>

§

impl<H> Send for OakFunctionsContainersService<H>
where - <H as Handler>::HandlerType: Send,

§

impl<H> Sync for OakFunctionsContainersService<H>
where - <H as Handler>::HandlerType: Sync + Send,

§

impl<H> Unpin for OakFunctionsContainersService<H>
where - <H as Handler>::HandlerConfig: Unpin, - <H as Handler>::HandlerType: Unpin,

§

impl<H> !UnwindSafe for OakFunctionsContainersService<H>

Blanket Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where diff --git a/doc/doc/oak_functions_containers_launcher/struct.UntrustedApp.html b/doc/doc/oak_functions_containers_launcher/struct.UntrustedApp.html index b32d2220be6..b592d930570 100644 --- a/doc/doc/oak_functions_containers_launcher/struct.UntrustedApp.html +++ b/doc/doc/oak_functions_containers_launcher/struct.UntrustedApp.html @@ -1,8 +1,8 @@ UntrustedApp in oak_functions_containers_launcher - Rust
pub struct UntrustedApp {
     pub oak_functions_client: OakFunctionsClient<Channel>,
-    pub launcher: Launcher,
-}

Fields§

§oak_functions_client: OakFunctionsClient<Channel>§launcher: Launcher

Implementations§

source§

impl UntrustedApp

source

pub async fn create(launcher_args: Args) -> Result<Self>

source

pub async fn initialize_enclave( + pub launcher: Launcher, +}

Fields§

§oak_functions_client: OakFunctionsClient<Channel>§launcher: Launcher

Implementations§

source§

impl UntrustedApp

source

pub async fn create(launcher_args: Args) -> Result<Self>

source

pub async fn initialize_enclave( &mut self, initialize_request: InitializeRequest ) -> Result<InitializeResponse, Box<dyn Error>>

source

pub async fn kill(&mut self)

source

pub async fn setup_lookup_data( diff --git a/doc/doc/settings.html b/doc/doc/settings.html index a48f168c1f3..b182cbd600e 100644 --- a/doc/doc/settings.html +++ b/doc/doc/settings.html @@ -1,2 +1,2 @@ -Settings -

Rustdoc settings

Back
\ No newline at end of file +Settings +

Rustdoc settings

Back
\ No newline at end of file diff --git a/doc/doc/src/oak_attestation_explain/lib.rs.html b/doc/doc/src/oak_attestation_explain/lib.rs.html index 3be6717399b..b7fb5e9bbc4 100644 --- a/doc/doc/src/oak_attestation_explain/lib.rs.html +++ b/doc/doc/src/oak_attestation_explain/lib.rs.html @@ -527,6 +527,28 @@

Files

525 526 527 +528 +529 +530 +531 +532 +533 +534 +535 +536 +537 +538 +539 +540 +541 +542 +543 +544 +545 +546 +547 +548 +549
//
 // Copyright 2024 The Project Oak Authors
 //
@@ -568,6 +590,10 @@ 

Files

use crate::alloc::{borrow::ToOwned, string::ToString}; +const AMD_SEV_SNP_TITLE: &str = "AMD SEV-SNP"; +const INTEL_TDX_TITLE: &str = "Intel TDX"; +const INSECURE_TEE_TITLE: &str = "FAKE INSECURE"; + /// Provides human readable explanations for attestation data. pub trait HumanReadableTitle { /// Concise title, eg. "Oak Containers Stack in a AMD SEV-SNP TEE". @@ -640,11 +666,33 @@

Files

for_each_node(value, &modify_node); } -fn get_tee_name(tee_report: &Report) -> &'static str { - match tee_report { - Report::SevSnp(_) => "AMD SEV-SNP", - Report::Tdx(_) => "Intel TDX", - Report::Fake(_) => "UNSAFE FAKE", +fn get_tee_name_from_root_layer_evidence( + root_layer: &RootLayerData, +) -> Result<&'static str, anyhow::Error> { + match root_layer.report.as_ref().context("unexpectedly unset report proto field")? { + Report::SevSnp(_) => Ok(AMD_SEV_SNP_TITLE), + Report::Tdx(_) => Ok(INTEL_TDX_TITLE), + Report::Fake(_) => Ok(INSECURE_TEE_TITLE), + } +} + +fn get_tee_name_from_root_layer_reference_values( + root_layer_reference_values: &RootLayerReferenceValues, +) -> Result<String, anyhow::Error> { + match root_layer_reference_values { + RootLayerReferenceValues { insecure: Some(_), .. } => Ok(INSECURE_TEE_TITLE.to_owned()), + RootLayerReferenceValues { amd_sev: Some(_), intel_tdx: Some(_), insecure: None } => { + Ok(format!("{} or {}", AMD_SEV_SNP_TITLE, INTEL_TDX_TITLE)) + } + RootLayerReferenceValues { amd_sev: None, intel_tdx: Some(_), insecure: None } => { + Ok(INTEL_TDX_TITLE.to_owned()) + } + RootLayerReferenceValues { amd_sev: Some(_), intel_tdx: None, insecure: None } => { + Ok(AMD_SEV_SNP_TITLE.to_owned()) + } + RootLayerReferenceValues { amd_sev: None, intel_tdx: None, insecure: None } => { + Err(anyhow::Error::msg("no TEE value found in the reference values")) + } } } @@ -674,41 +722,37 @@

Files

impl HumanReadableTitle for OakRestrictedKernelData { fn title(&self) -> Result<String, anyhow::Error> { - let tee_report = self - .root_layer - .as_ref() - .context("unexpectedly unset root_layer proto field")? - .report - .as_ref() - .context("unexpectedly unset report proto field")?; - let tee_name = get_tee_name(tee_report); + let root_layer = + self.root_layer.clone().context("unexpectedly unset root_layer proto field")?; + let tee_name = get_tee_name_from_root_layer_evidence(&root_layer)?; Ok(format!("Oak Restricted Kernel Stack in a {} TEE", tee_name)) } } impl HumanReadableTitle for OakRestrictedKernelReferenceValues { fn title(&self) -> Result<String, anyhow::Error> { - Ok("Oak Restricted Kernel Stack".to_owned()) + let root_layer = + self.root_layer.as_ref().context("unexpectedly unset root_layer proto field")?; + let tee_name = get_tee_name_from_root_layer_reference_values(root_layer)?; + Ok(format!("Oak Restricted Kernel Stack in a {} TEE", tee_name)) } } impl HumanReadableTitle for OakContainersData { fn title(&self) -> Result<String, anyhow::Error> { - let tee_report = self - .root_layer - .clone() - .context("unexpectedly unset root_layer proto field")? - .report - .clone() - .context("unexpectedly unset report proto field")?; - let tee_name = get_tee_name(&tee_report); - Ok(format!("Evidence of the Oak Conatiners Stack in a {} TEE", tee_name)) + let root_layer = + self.root_layer.clone().context("unexpectedly unset root_layer proto field")?; + let tee_name = get_tee_name_from_root_layer_evidence(&root_layer)?; + Ok(format!("Oak Containers Stack in a {} TEE", tee_name)) } } impl HumanReadableTitle for OakContainersReferenceValues { fn title(&self) -> Result<String, anyhow::Error> { - Ok("Oak Conatiners Stack".to_owned()) + let root_layer = + self.root_layer.as_ref().context("unexpectedly unset root_layer proto field")?; + let tee_name = get_tee_name_from_root_layer_reference_values(root_layer)?; + Ok(format!("Oak Containers Stack in a {} TEE", tee_name)) } } diff --git a/doc/doc/trait.impl/core/marker/trait.Send.js b/doc/doc/trait.impl/core/marker/trait.Send.js index dcc36056f29..1c7205bd9f8 100644 --- a/doc/doc/trait.impl/core/marker/trait.Send.js +++ b/doc/doc/trait.impl/core/marker/trait.Send.js @@ -20,7 +20,7 @@ "oak_enclave_runtime_support":[["impl Send for GrowableHeap",1,["oak_enclave_runtime_support::heap::GrowableHeap"]],["impl Send for LockedGrowableHeap",1,["oak_enclave_runtime_support::heap::LockedGrowableHeap"]]], "oak_functions_abi":[["impl Send for Request",1,["oak_functions_abi::Request"]],["impl Send for Response",1,["oak_functions_abi::Response"]],["impl Send for StatusCode",1,["oak_functions_abi::StatusCode"]]], "oak_functions_client":[["impl Send for OakFunctionsClient",1,["oak_functions_client::OakFunctionsClient"]]], -"oak_functions_containers_app":[["impl Send for NativeHandler",1,["oak_functions_containers_app::native_handler::NativeHandler"]],["impl<T> Send for OakFunctionsClient<T>
where\n T: Send,
",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl<T> Send for OakFunctionsServer<T>",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_server::OakFunctionsServer"]],["impl<H> Send for OakFunctionsContainersService<H>
where\n <H as Handler>::HandlerType: Send,
",1,["oak_functions_containers_app::OakFunctionsContainersService"]]], +"oak_functions_containers_app":[["impl Send for NativeHandler",1,["oak_functions_containers_app::native_handler::NativeHandler"]],["impl<T> Send for OakFunctionsClient<T>
where\n T: Send,
",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl<T> Send for OakFunctionsServer<T>",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_server::OakFunctionsServer"]],["impl<H> Send for OakFunctionsContainersService<H>
where\n <H as Handler>::HandlerType: Send,
",1,["oak_functions_containers_app::OakFunctionsContainersService"]]], "oak_functions_containers_launcher":[["impl Send for Data",1,["oak_functions_containers_launcher::proto::oak::functions::extend_next_lookup_data_request::Data"]],["impl<T> Send for OakFunctionsClient<T>
where\n T: Send,
",1,["oak_functions_containers_launcher::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl Send for PoolingAllocationConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::wasmtime_config::PoolingAllocationConfig"]],["impl Send for CommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::application_config::CommunicationChannel"]],["impl Send for TcpCommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::TcpCommunicationChannel"]],["impl Send for VsockCommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::VsockCommunicationChannel"]],["impl Send for WasmtimeConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::WasmtimeConfig"]],["impl Send for ApplicationConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::ApplicationConfig"]],["impl Send for HandlerType",1,["oak_functions_containers_launcher::proto::oak::functions::config::HandlerType"]],["impl Send for InitializeRequest",1,["oak_functions_containers_launcher::proto::oak::functions::InitializeRequest"]],["impl Send for InitializeResponse",1,["oak_functions_containers_launcher::proto::oak::functions::InitializeResponse"]],["impl Send for InvokeRequest",1,["oak_functions_containers_launcher::proto::oak::functions::InvokeRequest"]],["impl Send for InvokeResponse",1,["oak_functions_containers_launcher::proto::oak::functions::InvokeResponse"]],["impl Send for LookupDataEntry",1,["oak_functions_containers_launcher::proto::oak::functions::LookupDataEntry"]],["impl Send for LookupDataChunk",1,["oak_functions_containers_launcher::proto::oak::functions::LookupDataChunk"]],["impl Send for ExtendNextLookupDataRequest",1,["oak_functions_containers_launcher::proto::oak::functions::ExtendNextLookupDataRequest"]],["impl Send for ExtendNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::ExtendNextLookupDataResponse"]],["impl Send for FinishNextLookupDataRequest",1,["oak_functions_containers_launcher::proto::oak::functions::FinishNextLookupDataRequest"]],["impl Send for FinishNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::FinishNextLookupDataResponse"]],["impl Send for AbortNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::AbortNextLookupDataResponse"]],["impl Send for Empty",1,["oak_functions_containers_launcher::proto::oak::functions::Empty"]],["impl Send for ReserveRequest",1,["oak_functions_containers_launcher::proto::oak::functions::ReserveRequest"]],["impl Send for ReserveResponse",1,["oak_functions_containers_launcher::proto::oak::functions::ReserveResponse"]],["impl Send for SessionProxy",1,["oak_functions_containers_launcher::server::SessionProxy"]],["impl Send for UntrustedApp",1,["oak_functions_containers_launcher::UntrustedApp"]]], "oak_functions_enclave_service":[["impl<EKH, EP, H> Send for OakFunctionsService<EKH, EP, H>
where\n EKH: Sync + Send,\n EP: Send,\n <H as Handler>::HandlerType: Send,
",1,["oak_functions_enclave_service::OakFunctionsService"]]], "oak_functions_launcher":[["impl Send for SessionProxy",1,["oak_functions_launcher::server::SessionProxy"]],["impl Send for Data",1,["oak_functions_launcher::proto::oak::functions::extend_next_lookup_data_request::Data"]],["impl Send for InitializeRequest",1,["oak_functions_launcher::proto::oak::functions::InitializeRequest"]],["impl Send for InitializeResponse",1,["oak_functions_launcher::proto::oak::functions::InitializeResponse"]],["impl Send for InvokeRequest",1,["oak_functions_launcher::proto::oak::functions::InvokeRequest"]],["impl Send for InvokeResponse",1,["oak_functions_launcher::proto::oak::functions::InvokeResponse"]],["impl Send for LookupDataEntry",1,["oak_functions_launcher::proto::oak::functions::LookupDataEntry"]],["impl Send for LookupDataChunk",1,["oak_functions_launcher::proto::oak::functions::LookupDataChunk"]],["impl Send for ExtendNextLookupDataRequest",1,["oak_functions_launcher::proto::oak::functions::ExtendNextLookupDataRequest"]],["impl Send for ExtendNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::ExtendNextLookupDataResponse"]],["impl Send for FinishNextLookupDataRequest",1,["oak_functions_launcher::proto::oak::functions::FinishNextLookupDataRequest"]],["impl Send for FinishNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::FinishNextLookupDataResponse"]],["impl Send for AbortNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::AbortNextLookupDataResponse"]],["impl Send for Empty",1,["oak_functions_launcher::proto::oak::functions::Empty"]],["impl Send for ReserveRequest",1,["oak_functions_launcher::proto::oak::functions::ReserveRequest"]],["impl Send for ReserveResponse",1,["oak_functions_launcher::proto::oak::functions::ReserveResponse"]],["impl<S> Send for OakFunctionsServer<S>
where\n S: Send,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsServer"]],["impl<T> Send for OakFunctionsClient<T>
where\n T: Send,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsClient"]],["impl<T> Send for OakFunctionsAsyncClient<T>
where\n T: Send,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsAsyncClient"]],["impl Send for Request",1,["oak_functions_launcher::proto::oak::session::v1::request_wrapper::Request"]],["impl Send for Response",1,["oak_functions_launcher::proto::oak::session::v1::response_wrapper::Response"]],["impl<T> Send for StreamingSessionServer<T>",1,["oak_functions_launcher::proto::oak::session::v1::streaming_session_server::StreamingSessionServer"]],["impl Send for EndorsedEvidence",1,["oak_functions_launcher::proto::oak::session::v1::EndorsedEvidence"]],["impl Send for GetEndorsedEvidenceRequest",1,["oak_functions_launcher::proto::oak::session::v1::GetEndorsedEvidenceRequest"]],["impl Send for GetEndorsedEvidenceResponse",1,["oak_functions_launcher::proto::oak::session::v1::GetEndorsedEvidenceResponse"]],["impl Send for InvokeRequest",1,["oak_functions_launcher::proto::oak::session::v1::InvokeRequest"]],["impl Send for InvokeResponse",1,["oak_functions_launcher::proto::oak::session::v1::InvokeResponse"]],["impl Send for RequestWrapper",1,["oak_functions_launcher::proto::oak::session::v1::RequestWrapper"]],["impl Send for ResponseWrapper",1,["oak_functions_launcher::proto::oak::session::v1::ResponseWrapper"]],["impl Send for Args",1,["oak_functions_launcher::Args"]],["impl Send for LookupDataConfig",1,["oak_functions_launcher::LookupDataConfig"]]], diff --git a/doc/doc/trait.impl/core/marker/trait.Sync.js b/doc/doc/trait.impl/core/marker/trait.Sync.js index 67dbe7f507d..3c63e742e2a 100644 --- a/doc/doc/trait.impl/core/marker/trait.Sync.js +++ b/doc/doc/trait.impl/core/marker/trait.Sync.js @@ -20,7 +20,7 @@ "oak_enclave_runtime_support":[["impl Sync for GrowableHeap",1,["oak_enclave_runtime_support::heap::GrowableHeap"]],["impl Sync for LockedGrowableHeap",1,["oak_enclave_runtime_support::heap::LockedGrowableHeap"]]], "oak_functions_abi":[["impl Sync for Request",1,["oak_functions_abi::Request"]],["impl Sync for Response",1,["oak_functions_abi::Response"]],["impl Sync for StatusCode",1,["oak_functions_abi::StatusCode"]]], "oak_functions_client":[["impl Sync for OakFunctionsClient",1,["oak_functions_client::OakFunctionsClient"]]], -"oak_functions_containers_app":[["impl Sync for NativeHandler",1,["oak_functions_containers_app::native_handler::NativeHandler"]],["impl<T> Sync for OakFunctionsClient<T>
where\n T: Sync,
",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl<T> Sync for OakFunctionsServer<T>",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_server::OakFunctionsServer"]],["impl<H> Sync for OakFunctionsContainersService<H>
where\n <H as Handler>::HandlerType: Sync + Send,
",1,["oak_functions_containers_app::OakFunctionsContainersService"]]], +"oak_functions_containers_app":[["impl Sync for NativeHandler",1,["oak_functions_containers_app::native_handler::NativeHandler"]],["impl<T> Sync for OakFunctionsClient<T>
where\n T: Sync,
",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl<T> Sync for OakFunctionsServer<T>",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_server::OakFunctionsServer"]],["impl<H> Sync for OakFunctionsContainersService<H>
where\n <H as Handler>::HandlerType: Sync + Send,
",1,["oak_functions_containers_app::OakFunctionsContainersService"]]], "oak_functions_containers_launcher":[["impl Sync for Data",1,["oak_functions_containers_launcher::proto::oak::functions::extend_next_lookup_data_request::Data"]],["impl<T> Sync for OakFunctionsClient<T>
where\n T: Sync,
",1,["oak_functions_containers_launcher::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl Sync for PoolingAllocationConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::wasmtime_config::PoolingAllocationConfig"]],["impl Sync for CommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::application_config::CommunicationChannel"]],["impl Sync for TcpCommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::TcpCommunicationChannel"]],["impl Sync for VsockCommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::VsockCommunicationChannel"]],["impl Sync for WasmtimeConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::WasmtimeConfig"]],["impl Sync for ApplicationConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::ApplicationConfig"]],["impl Sync for HandlerType",1,["oak_functions_containers_launcher::proto::oak::functions::config::HandlerType"]],["impl Sync for InitializeRequest",1,["oak_functions_containers_launcher::proto::oak::functions::InitializeRequest"]],["impl Sync for InitializeResponse",1,["oak_functions_containers_launcher::proto::oak::functions::InitializeResponse"]],["impl Sync for InvokeRequest",1,["oak_functions_containers_launcher::proto::oak::functions::InvokeRequest"]],["impl Sync for InvokeResponse",1,["oak_functions_containers_launcher::proto::oak::functions::InvokeResponse"]],["impl Sync for LookupDataEntry",1,["oak_functions_containers_launcher::proto::oak::functions::LookupDataEntry"]],["impl Sync for LookupDataChunk",1,["oak_functions_containers_launcher::proto::oak::functions::LookupDataChunk"]],["impl Sync for ExtendNextLookupDataRequest",1,["oak_functions_containers_launcher::proto::oak::functions::ExtendNextLookupDataRequest"]],["impl Sync for ExtendNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::ExtendNextLookupDataResponse"]],["impl Sync for FinishNextLookupDataRequest",1,["oak_functions_containers_launcher::proto::oak::functions::FinishNextLookupDataRequest"]],["impl Sync for FinishNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::FinishNextLookupDataResponse"]],["impl Sync for AbortNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::AbortNextLookupDataResponse"]],["impl Sync for Empty",1,["oak_functions_containers_launcher::proto::oak::functions::Empty"]],["impl Sync for ReserveRequest",1,["oak_functions_containers_launcher::proto::oak::functions::ReserveRequest"]],["impl Sync for ReserveResponse",1,["oak_functions_containers_launcher::proto::oak::functions::ReserveResponse"]],["impl Sync for SessionProxy",1,["oak_functions_containers_launcher::server::SessionProxy"]],["impl Sync for UntrustedApp",1,["oak_functions_containers_launcher::UntrustedApp"]]], "oak_functions_enclave_service":[["impl<EKH, EP, H> Sync for OakFunctionsService<EKH, EP, H>
where\n EKH: Sync + Send,\n EP: Sync,\n <H as Handler>::HandlerType: Sync + Send,
",1,["oak_functions_enclave_service::OakFunctionsService"]]], "oak_functions_launcher":[["impl Sync for SessionProxy",1,["oak_functions_launcher::server::SessionProxy"]],["impl Sync for Data",1,["oak_functions_launcher::proto::oak::functions::extend_next_lookup_data_request::Data"]],["impl Sync for InitializeRequest",1,["oak_functions_launcher::proto::oak::functions::InitializeRequest"]],["impl Sync for InitializeResponse",1,["oak_functions_launcher::proto::oak::functions::InitializeResponse"]],["impl Sync for InvokeRequest",1,["oak_functions_launcher::proto::oak::functions::InvokeRequest"]],["impl Sync for InvokeResponse",1,["oak_functions_launcher::proto::oak::functions::InvokeResponse"]],["impl Sync for LookupDataEntry",1,["oak_functions_launcher::proto::oak::functions::LookupDataEntry"]],["impl Sync for LookupDataChunk",1,["oak_functions_launcher::proto::oak::functions::LookupDataChunk"]],["impl Sync for ExtendNextLookupDataRequest",1,["oak_functions_launcher::proto::oak::functions::ExtendNextLookupDataRequest"]],["impl Sync for ExtendNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::ExtendNextLookupDataResponse"]],["impl Sync for FinishNextLookupDataRequest",1,["oak_functions_launcher::proto::oak::functions::FinishNextLookupDataRequest"]],["impl Sync for FinishNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::FinishNextLookupDataResponse"]],["impl Sync for AbortNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::AbortNextLookupDataResponse"]],["impl Sync for Empty",1,["oak_functions_launcher::proto::oak::functions::Empty"]],["impl Sync for ReserveRequest",1,["oak_functions_launcher::proto::oak::functions::ReserveRequest"]],["impl Sync for ReserveResponse",1,["oak_functions_launcher::proto::oak::functions::ReserveResponse"]],["impl<S> Sync for OakFunctionsServer<S>
where\n S: Sync,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsServer"]],["impl<T> Sync for OakFunctionsClient<T>
where\n T: Sync,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsClient"]],["impl<T> Sync for OakFunctionsAsyncClient<T>
where\n T: Sync,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsAsyncClient"]],["impl Sync for Request",1,["oak_functions_launcher::proto::oak::session::v1::request_wrapper::Request"]],["impl Sync for Response",1,["oak_functions_launcher::proto::oak::session::v1::response_wrapper::Response"]],["impl<T> Sync for StreamingSessionServer<T>",1,["oak_functions_launcher::proto::oak::session::v1::streaming_session_server::StreamingSessionServer"]],["impl Sync for EndorsedEvidence",1,["oak_functions_launcher::proto::oak::session::v1::EndorsedEvidence"]],["impl Sync for GetEndorsedEvidenceRequest",1,["oak_functions_launcher::proto::oak::session::v1::GetEndorsedEvidenceRequest"]],["impl Sync for GetEndorsedEvidenceResponse",1,["oak_functions_launcher::proto::oak::session::v1::GetEndorsedEvidenceResponse"]],["impl Sync for InvokeRequest",1,["oak_functions_launcher::proto::oak::session::v1::InvokeRequest"]],["impl Sync for InvokeResponse",1,["oak_functions_launcher::proto::oak::session::v1::InvokeResponse"]],["impl Sync for RequestWrapper",1,["oak_functions_launcher::proto::oak::session::v1::RequestWrapper"]],["impl Sync for ResponseWrapper",1,["oak_functions_launcher::proto::oak::session::v1::ResponseWrapper"]],["impl Sync for Args",1,["oak_functions_launcher::Args"]],["impl Sync for LookupDataConfig",1,["oak_functions_launcher::LookupDataConfig"]]], diff --git a/doc/doc/trait.impl/core/marker/trait.Unpin.js b/doc/doc/trait.impl/core/marker/trait.Unpin.js index 50e923150e7..32881b03de0 100644 --- a/doc/doc/trait.impl/core/marker/trait.Unpin.js +++ b/doc/doc/trait.impl/core/marker/trait.Unpin.js @@ -20,7 +20,7 @@ "oak_enclave_runtime_support":[["impl Unpin for GrowableHeap",1,["oak_enclave_runtime_support::heap::GrowableHeap"]],["impl Unpin for LockedGrowableHeap",1,["oak_enclave_runtime_support::heap::LockedGrowableHeap"]]], "oak_functions_abi":[["impl Unpin for Request",1,["oak_functions_abi::Request"]],["impl Unpin for Response",1,["oak_functions_abi::Response"]],["impl Unpin for StatusCode",1,["oak_functions_abi::StatusCode"]]], "oak_functions_client":[["impl Unpin for OakFunctionsClient",1,["oak_functions_client::OakFunctionsClient"]]], -"oak_functions_containers_app":[["impl Unpin for NativeHandler",1,["oak_functions_containers_app::native_handler::NativeHandler"]],["impl<T> Unpin for OakFunctionsClient<T>
where\n T: Unpin,
",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl<T> Unpin for OakFunctionsServer<T>",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_server::OakFunctionsServer"]],["impl<H> Unpin for OakFunctionsContainersService<H>
where\n <H as Handler>::HandlerConfig: Unpin,\n <H as Handler>::HandlerType: Unpin,
",1,["oak_functions_containers_app::OakFunctionsContainersService"]]], +"oak_functions_containers_app":[["impl Unpin for NativeHandler",1,["oak_functions_containers_app::native_handler::NativeHandler"]],["impl<T> Unpin for OakFunctionsClient<T>
where\n T: Unpin,
",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl<T> Unpin for OakFunctionsServer<T>",1,["oak_functions_containers_app::proto::oak::functions::oak_functions_server::OakFunctionsServer"]],["impl<H> Unpin for OakFunctionsContainersService<H>
where\n <H as Handler>::HandlerConfig: Unpin,\n <H as Handler>::HandlerType: Unpin,
",1,["oak_functions_containers_app::OakFunctionsContainersService"]]], "oak_functions_containers_launcher":[["impl Unpin for Data",1,["oak_functions_containers_launcher::proto::oak::functions::extend_next_lookup_data_request::Data"]],["impl<T> Unpin for OakFunctionsClient<T>
where\n T: Unpin,
",1,["oak_functions_containers_launcher::proto::oak::functions::oak_functions_client::OakFunctionsClient"]],["impl Unpin for PoolingAllocationConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::wasmtime_config::PoolingAllocationConfig"]],["impl Unpin for CommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::application_config::CommunicationChannel"]],["impl Unpin for TcpCommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::TcpCommunicationChannel"]],["impl Unpin for VsockCommunicationChannel",1,["oak_functions_containers_launcher::proto::oak::functions::config::VsockCommunicationChannel"]],["impl Unpin for WasmtimeConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::WasmtimeConfig"]],["impl Unpin for ApplicationConfig",1,["oak_functions_containers_launcher::proto::oak::functions::config::ApplicationConfig"]],["impl Unpin for HandlerType",1,["oak_functions_containers_launcher::proto::oak::functions::config::HandlerType"]],["impl Unpin for InitializeRequest",1,["oak_functions_containers_launcher::proto::oak::functions::InitializeRequest"]],["impl Unpin for InitializeResponse",1,["oak_functions_containers_launcher::proto::oak::functions::InitializeResponse"]],["impl Unpin for InvokeRequest",1,["oak_functions_containers_launcher::proto::oak::functions::InvokeRequest"]],["impl Unpin for InvokeResponse",1,["oak_functions_containers_launcher::proto::oak::functions::InvokeResponse"]],["impl Unpin for LookupDataEntry",1,["oak_functions_containers_launcher::proto::oak::functions::LookupDataEntry"]],["impl Unpin for LookupDataChunk",1,["oak_functions_containers_launcher::proto::oak::functions::LookupDataChunk"]],["impl Unpin for ExtendNextLookupDataRequest",1,["oak_functions_containers_launcher::proto::oak::functions::ExtendNextLookupDataRequest"]],["impl Unpin for ExtendNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::ExtendNextLookupDataResponse"]],["impl Unpin for FinishNextLookupDataRequest",1,["oak_functions_containers_launcher::proto::oak::functions::FinishNextLookupDataRequest"]],["impl Unpin for FinishNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::FinishNextLookupDataResponse"]],["impl Unpin for AbortNextLookupDataResponse",1,["oak_functions_containers_launcher::proto::oak::functions::AbortNextLookupDataResponse"]],["impl Unpin for Empty",1,["oak_functions_containers_launcher::proto::oak::functions::Empty"]],["impl Unpin for ReserveRequest",1,["oak_functions_containers_launcher::proto::oak::functions::ReserveRequest"]],["impl Unpin for ReserveResponse",1,["oak_functions_containers_launcher::proto::oak::functions::ReserveResponse"]],["impl Unpin for SessionProxy",1,["oak_functions_containers_launcher::server::SessionProxy"]],["impl Unpin for UntrustedApp",1,["oak_functions_containers_launcher::UntrustedApp"]]], "oak_functions_enclave_service":[["impl<EKH, EP, H> Unpin for OakFunctionsService<EKH, EP, H>
where\n EP: Unpin,\n <H as Handler>::HandlerConfig: Unpin,\n <H as Handler>::HandlerType: Unpin,
",1,["oak_functions_enclave_service::OakFunctionsService"]]], "oak_functions_launcher":[["impl Unpin for SessionProxy",1,["oak_functions_launcher::server::SessionProxy"]],["impl Unpin for Data",1,["oak_functions_launcher::proto::oak::functions::extend_next_lookup_data_request::Data"]],["impl Unpin for InitializeRequest",1,["oak_functions_launcher::proto::oak::functions::InitializeRequest"]],["impl Unpin for InitializeResponse",1,["oak_functions_launcher::proto::oak::functions::InitializeResponse"]],["impl Unpin for InvokeRequest",1,["oak_functions_launcher::proto::oak::functions::InvokeRequest"]],["impl Unpin for InvokeResponse",1,["oak_functions_launcher::proto::oak::functions::InvokeResponse"]],["impl Unpin for LookupDataEntry",1,["oak_functions_launcher::proto::oak::functions::LookupDataEntry"]],["impl Unpin for LookupDataChunk",1,["oak_functions_launcher::proto::oak::functions::LookupDataChunk"]],["impl Unpin for ExtendNextLookupDataRequest",1,["oak_functions_launcher::proto::oak::functions::ExtendNextLookupDataRequest"]],["impl Unpin for ExtendNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::ExtendNextLookupDataResponse"]],["impl Unpin for FinishNextLookupDataRequest",1,["oak_functions_launcher::proto::oak::functions::FinishNextLookupDataRequest"]],["impl Unpin for FinishNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::FinishNextLookupDataResponse"]],["impl Unpin for AbortNextLookupDataResponse",1,["oak_functions_launcher::proto::oak::functions::AbortNextLookupDataResponse"]],["impl Unpin for Empty",1,["oak_functions_launcher::proto::oak::functions::Empty"]],["impl Unpin for ReserveRequest",1,["oak_functions_launcher::proto::oak::functions::ReserveRequest"]],["impl Unpin for ReserveResponse",1,["oak_functions_launcher::proto::oak::functions::ReserveResponse"]],["impl<S> Unpin for OakFunctionsServer<S>
where\n S: Unpin,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsServer"]],["impl<T> Unpin for OakFunctionsClient<T>
where\n T: Unpin,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsClient"]],["impl<T> Unpin for OakFunctionsAsyncClient<T>
where\n T: Unpin,
",1,["oak_functions_launcher::proto::oak::functions::OakFunctionsAsyncClient"]],["impl Unpin for Request",1,["oak_functions_launcher::proto::oak::session::v1::request_wrapper::Request"]],["impl Unpin for Response",1,["oak_functions_launcher::proto::oak::session::v1::response_wrapper::Response"]],["impl<T> Unpin for StreamingSessionServer<T>",1,["oak_functions_launcher::proto::oak::session::v1::streaming_session_server::StreamingSessionServer"]],["impl Unpin for EndorsedEvidence",1,["oak_functions_launcher::proto::oak::session::v1::EndorsedEvidence"]],["impl Unpin for GetEndorsedEvidenceRequest",1,["oak_functions_launcher::proto::oak::session::v1::GetEndorsedEvidenceRequest"]],["impl Unpin for GetEndorsedEvidenceResponse",1,["oak_functions_launcher::proto::oak::session::v1::GetEndorsedEvidenceResponse"]],["impl Unpin for InvokeRequest",1,["oak_functions_launcher::proto::oak::session::v1::InvokeRequest"]],["impl Unpin for InvokeResponse",1,["oak_functions_launcher::proto::oak::session::v1::InvokeResponse"]],["impl Unpin for RequestWrapper",1,["oak_functions_launcher::proto::oak::session::v1::RequestWrapper"]],["impl Unpin for ResponseWrapper",1,["oak_functions_launcher::proto::oak::session::v1::ResponseWrapper"]],["impl Unpin for Args",1,["oak_functions_launcher::Args"]],["impl Unpin for LookupDataConfig",1,["oak_functions_launcher::LookupDataConfig"]]], diff --git a/doc/doc/trait.impl/oak_functions_service/trait.Handler.js b/doc/doc/trait.impl/oak_functions_service/trait.Handler.js index cc6997b414d..bd160435b1c 100644 --- a/doc/doc/trait.impl/oak_functions_service/trait.Handler.js +++ b/doc/doc/trait.impl/oak_functions_service/trait.Handler.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"oak_functions_containers_app":[["impl Handler for NativeHandler"]], +"oak_functions_containers_app":[["impl Handler for NativeHandler"]], "oak_functions_service":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file