fetch_escrow

Function fetch_escrow 

Source
pub async fn fetch_escrow(
    escrow_token: EscrowToken,
    options: FetchEscrowOptions,
) -> Result<FetchEscrowResult, Error>
Expand description

Fetches a VMO that was previously escrowed.

This function connects to fuchsia.inspect.InspectSink and exchanges the provided escrow_token for the VMO it represents.

If FetchEscrowOptions::replace_with_tree is set, a new fuchsia.inspect.Tree server will be created to replace the one that was torn down when the VMO was originally escrowed. A handle to this new tree will be returned.