pub enum Scope {
Global {
objs: Vec<Weak<DSO>>,
},
Local {
owner: Option<Weak<DSO>>,
objs: Vec<Arc<DSO>>,
},
}Variants§
Global
The global scope initially contains the main program and all of its
dependencies. Additional objects will be added to this scope via
dlopen(2) if the RTLD_GLOBAL flag is set.
Local
Auto Trait Implementations§
impl Freeze for Scope
impl !RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl !UnwindSafe for Scope
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