Struct fidl_fuchsia_ldsvc::LoaderProxy
source · pub struct LoaderProxy { /* private fields */ }
Implementations§
source§impl LoaderProxy
impl LoaderProxy
sourcepub fn take_event_stream(&self) -> LoaderEventStream
pub fn take_event_stream(&self) -> LoaderEventStream
Get a Stream of events from the remote end of the Loader protocol
Panics
Panics if the event stream was already taken.
sourcepub fn load_object(
&self,
object_name: &str
) -> QueryResponseFut<(i32, Option<Vmo>)>
pub fn load_object( &self, object_name: &str ) -> QueryResponseFut<(i32, Option<Vmo>)>
The dynamic linker sends object_name
and gets back a VMO
handle containing the file.
sourcepub fn config(&self, config: &str) -> QueryResponseFut<i32>
pub fn config(&self, config: &str) -> QueryResponseFut<i32>
The dynamic linker sends a config
identifying its load
configuration. This is intended to affect how later
LoadObject
requests decide what particular implementation
file to supply for a given name.
sourcepub fn clone(&self, loader: ServerEnd<LoaderMarker>) -> QueryResponseFut<i32>
pub fn clone(&self, loader: ServerEnd<LoaderMarker>) -> QueryResponseFut<i32>
Obtain a new loader service connection.
Trait Implementations§
source§impl Clone for LoaderProxy
impl Clone for LoaderProxy
source§fn clone(&self) -> LoaderProxy
fn clone(&self) -> LoaderProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LoaderProxy
impl Debug for LoaderProxy
source§impl LoaderProxyInterface for LoaderProxy
impl LoaderProxyInterface for LoaderProxy
fn done(&self) -> Result<(), Error>
type LoadObjectResponseFut = QueryResponseFut<(i32, Option<Vmo>)>
fn load_object(&self, object_name: &str) -> Self::LoadObjectResponseFut
type ConfigResponseFut = QueryResponseFut<i32>
fn config(&self, config: &str) -> Self::ConfigResponseFut
type CloneResponseFut = QueryResponseFut<i32>
fn clone(&self, loader: ServerEnd<LoaderMarker>) -> Self::CloneResponseFut
source§impl Proxy for LoaderProxy
impl Proxy for LoaderProxy
§type Protocol = LoaderMarker
type Protocol = LoaderMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more