pub enum LibraryLoaderCacheBuilderRequest {
Create {
lib_directory: ClientEnd<DirectoryMarker>,
cache: ServerEnd<LibraryLoaderCacheMarker>,
control_handle: LibraryLoaderCacheBuilderControlHandle,
},
}
Expand description
Provides an API to create LibraryLoaderCache. This is used by test runners to make test execution faster when launching same process in a package multiple times.
Variants§
Create
Create a new LibraryLoaderCache backed by lib_directory
.
lib_directory
: Handle to /pkg/lib of the component which needs
to be launched.
cache
: The handle which will serve |LibraryLoaderCache|.
Fields
§
lib_directory: ClientEnd<DirectoryMarker>
§
cache: ServerEnd<LibraryLoaderCacheMarker>
§
control_handle: LibraryLoaderCacheBuilderControlHandle
Implementations§
Source§impl LibraryLoaderCacheBuilderRequest
impl LibraryLoaderCacheBuilderRequest
pub fn into_create( self, ) -> Option<(ClientEnd<DirectoryMarker>, ServerEnd<LibraryLoaderCacheMarker>, LibraryLoaderCacheBuilderControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LibraryLoaderCacheBuilderRequest
impl !RefUnwindSafe for LibraryLoaderCacheBuilderRequest
impl Send for LibraryLoaderCacheBuilderRequest
impl Sync for LibraryLoaderCacheBuilderRequest
impl Unpin for LibraryLoaderCacheBuilderRequest
impl !UnwindSafe for LibraryLoaderCacheBuilderRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more