Enum dlfcn::rtld::RtldOr [] [src]

pub enum RtldOr {
    Global,
    Local,
    NoDelete,
    NoLoad,
    DeepBind,
}

The RTLD OR values to be used with the OR operator (|).

Variants

The symbols defined in the library will be made available to all other subsequently loaded libraries. Be careful as this does not make them available to previously loaded ones.

This is the exact opposite of [RtldOr::Global], as it doesn't make any symbol available to other loaded libraries. This is the default value of these two.

(Requires glibc 2.2 or higher for C libraries to take it into use)

Do not unload the library during close. This also means subsequent loads of this library will be ignored.

(Requires glibc 2.2 or higher for C libraries to take it into use)

Do not load the library during opening. This can be used to regain a handle together with [RtldOr::Global], though will in this crate not reopen the table, but rather populate another one.

(Requires glibc 2.3.4 or higher for C libraries to take it into use)

Put this libary's symbols ahead in the preference chain against that of the global scope. This means it will disregard any global symbol if there is one specifically defined in the library.

Methods

impl RtldOr
[src]

[src]

Maps the [RtldOr] value to a [libc::c_int].

Trait Implementations

Auto Trait Implementations

impl Send for RtldOr

impl Sync for RtldOr