pub enum UnloadPolicy {
Pinned,
Cooperative,
}Variants§
Pinned
Keep code mapped until process exit. This is the default.
Cooperative
Close only after host resources and the plugin’s quiescence contract agree.
Trait Implementations§
Source§impl Clone for UnloadPolicy
impl Clone for UnloadPolicy
impl Copy for UnloadPolicy
Source§impl Debug for UnloadPolicy
impl Debug for UnloadPolicy
impl Eq for UnloadPolicy
Source§impl PartialEq for UnloadPolicy
impl PartialEq for UnloadPolicy
impl StructuralPartialEq for UnloadPolicy
Auto Trait Implementations§
impl Forget for UnloadPolicy
impl Freeze for UnloadPolicy
impl Move for UnloadPolicy
impl RefUnwindSafe for UnloadPolicy
impl Send for UnloadPolicy
impl Sync for UnloadPolicy
impl Unpin for UnloadPolicy
impl UnsafeUnpin for UnloadPolicy
impl UnwindSafe for UnloadPolicy
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