pub struct LoaderSynchronousProxy { /* private fields */ }
Implementations§
source§impl LoaderSynchronousProxy
impl LoaderSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<LoaderEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<LoaderEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn load_object(
&self,
object_name: &str,
___deadline: Time
) -> Result<(i32, Option<Vmo>), Error>
pub fn load_object( &self, object_name: &str, ___deadline: Time ) -> Result<(i32, Option<Vmo>), Error>
The dynamic linker sends object_name
and gets back a VMO
handle containing the file.
sourcepub fn config(&self, config: &str, ___deadline: Time) -> Result<i32, Error>
pub fn config(&self, config: &str, ___deadline: Time) -> Result<i32, Error>
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>,
___deadline: Time
) -> Result<i32, Error>
pub fn clone( &self, loader: ServerEnd<LoaderMarker>, ___deadline: Time ) -> Result<i32, Error>
Obtain a new loader service connection.