Struct monitor_api::LibraryLoader
source · pub struct LibraryLoader<'a> { /* private fields */ }
Expand description
A builder-type for loading libraries.
Implementations§
source§impl<'a> LibraryLoader<'a>
impl<'a> LibraryLoader<'a>
sourcepub fn in_compartment(&'a mut self, comp: &'a CompartmentHandle) -> &'a mut Self
pub fn in_compartment(&'a mut self, comp: &'a CompartmentHandle) -> &'a mut Self
Load the library in the given compartment.
sourcepub fn load(&self) -> Result<LibraryHandle, LoadLibraryError>
pub fn load(&self) -> Result<LibraryHandle, LoadLibraryError>
Load the library.
Auto Trait Implementations§
impl<'a> !Crossing for LibraryLoader<'a>
impl<'a> !ObjSafe for LibraryLoader<'a>
impl<'a> RefUnwindSafe for LibraryLoader<'a>
impl<'a> Send for LibraryLoader<'a>
impl<'a> Sync for LibraryLoader<'a>
impl<'a> Unpin for LibraryLoader<'a>
impl<'a> UnwindSafe for LibraryLoader<'a>
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