Trait LoadMqmExt

Source
pub trait LoadMqmExt {
    // Required method
    unsafe fn load_mqm_default() -> Result<Self, Error>
       where Self: Sized;
}
Available on crate feature dlopen2 only.
Expand description

Extension trait for MqmContainer to load the MQM library using dlopen2

Required Methods§

Source

unsafe fn load_mqm_default() -> Result<Self, Error>
where Self: Sized,

Loads the MQM library using the platform dependent search rules

§Safety

Loading the dynamic library is inherently unsafe

§Errors

Will return Err if the dynamic library could not be loaded

Implementors§