pub enum LoaderRequest {
Done {
control_handle: LoaderControlHandle,
},
LoadObject {
object_name: String,
responder: LoaderLoadObjectResponder,
},
Config {
config: String,
responder: LoaderConfigResponder,
},
Clone {
loader: ServerEnd<LoaderMarker>,
responder: LoaderCloneResponder,
},
}
Expand description
See ///docs/zircon/program_loading.md for a more complete description of this and related process bootstrapping protocols, and for specifics about the default global loader service’s interpretation of names, paths, and configurations.
Variants§
Done
Fields
§
control_handle: LoaderControlHandle
Cleanly shutdown the connection to the Loader service.
LoadObject
The dynamic linker sends object_name
and gets back a VMO
handle containing the file.
Config
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.
Clone
Obtain a new loader service connection.
Implementations§
source§impl LoaderRequest
impl LoaderRequest
pub fn into_done(self) -> Option<LoaderControlHandle>
pub fn into_load_object(self) -> Option<(String, LoaderLoadObjectResponder)>
pub fn into_config(self) -> Option<(String, LoaderConfigResponder)>
pub fn into_clone( self ) -> Option<(ServerEnd<LoaderMarker>, LoaderCloneResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL