pub struct SecureFastRpcProxy { /* private fields */ }
Implementations§
Source§impl SecureFastRpcProxy
impl SecureFastRpcProxy
Sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.hardware.qualcomm.fastrpc/SecureFastRpc.
Sourcepub fn take_event_stream(&self) -> SecureFastRpcEventStream
pub fn take_event_stream(&self) -> SecureFastRpcEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn get_channel_id(
&self,
) -> QueryResponseFut<SecureFastRpcGetChannelIdResult, DefaultFuchsiaResourceDialect>
pub fn get_channel_id( &self, ) -> QueryResponseFut<SecureFastRpcGetChannelIdResult, DefaultFuchsiaResourceDialect>
Used to identify the channel id that this device instance talks to. The channel id is associated with the remote processor target.
Sourcepub fn allocate(
&self,
size: u64,
) -> QueryResponseFut<SecureFastRpcAllocateResult, DefaultFuchsiaResourceDialect>
pub fn allocate( &self, size: u64, ) -> QueryResponseFut<SecureFastRpcAllocateResult, DefaultFuchsiaResourceDialect>
Allocate a contiguous region of memory of at least |size|. This memory is meant to be used in |VmoArgument| typed arguments in an |InvokeParameters|. This vmo is owned exclusively by the caller.
Sourcepub fn get_capabilities(
&self,
) -> QueryResponseFut<SecureFastRpcGetCapabilitiesResult, DefaultFuchsiaResourceDialect>
pub fn get_capabilities( &self, ) -> QueryResponseFut<SecureFastRpcGetCapabilitiesResult, DefaultFuchsiaResourceDialect>
Get the vector of capabilities from the remote processor.
Sourcepub fn attach_root_domain(
&self,
server: ServerEnd<RemoteDomainMarker>,
) -> QueryResponseFut<SecureFastRpcAttachRootDomainResult, DefaultFuchsiaResourceDialect>
pub fn attach_root_domain( &self, server: ServerEnd<RemoteDomainMarker>, ) -> QueryResponseFut<SecureFastRpcAttachRootDomainResult, DefaultFuchsiaResourceDialect>
Attaches to the root (Guest OS) protection domain in the remote processor. This domain can access to the memory of its own protection domain, the memory of the user protection domains, and some system registers.
Sourcepub fn create_static_domain(
&self,
name: &str,
memory_size: u32,
server: ServerEnd<RemoteDomainMarker>,
) -> QueryResponseFut<SecureFastRpcCreateStaticDomainResult, DefaultFuchsiaResourceDialect>
pub fn create_static_domain( &self, name: &str, memory_size: u32, server: ServerEnd<RemoteDomainMarker>, ) -> QueryResponseFut<SecureFastRpcCreateStaticDomainResult, DefaultFuchsiaResourceDialect>
Creates the static (user) protection domain identified by |name| on the remote processor. This is provided with a memory of size |memory_size|. This protection domain can access only its own memory. Static domains are created for specific use cases like audio.
Trait Implementations§
Source§impl Clone for SecureFastRpcProxy
impl Clone for SecureFastRpcProxy
Source§fn clone(&self) -> SecureFastRpcProxy
fn clone(&self) -> SecureFastRpcProxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SecureFastRpcProxy
impl Debug for SecureFastRpcProxy
Source§impl Proxy for SecureFastRpcProxy
impl Proxy for SecureFastRpcProxy
Source§type Protocol = SecureFastRpcMarker
type Protocol = SecureFastRpcMarker
Proxy
controls.