Trait SecureFastRpcProxyInterface
Source pub trait SecureFastRpcProxyInterface: Send + Sync {
type GetChannelIdResponseFut: Future<Output = Result<SecureFastRpcGetChannelIdResult, Error>> + Send;
type AllocateResponseFut: Future<Output = Result<SecureFastRpcAllocateResult, Error>> + Send;
type GetCapabilitiesResponseFut: Future<Output = Result<SecureFastRpcGetCapabilitiesResult, Error>> + Send;
type AttachRootDomainResponseFut: Future<Output = Result<SecureFastRpcAttachRootDomainResult, Error>> + Send;
type CreateStaticDomainResponseFut: Future<Output = Result<SecureFastRpcCreateStaticDomainResult, Error>> + Send;
// Required methods
fn get_channel_id(&self) -> Self::GetChannelIdResponseFut;
fn allocate(&self, size: u64) -> Self::AllocateResponseFut;
fn get_capabilities(&self) -> Self::GetCapabilitiesResponseFut;
fn attach_root_domain(
&self,
server: ServerEnd<RemoteDomainMarker>,
) -> Self::AttachRootDomainResponseFut;
fn create_static_domain(
&self,
name: &str,
memory_size: u32,
server: ServerEnd<RemoteDomainMarker>,
) -> Self::CreateStaticDomainResponseFut;
}