Skip to main content

OrbInitializer

Trait OrbInitializer 

Source
pub trait OrbInitializer: Send + Sync {
    // Provided methods
    fn pre_init(
        &self,
        info: &mut OrbInitInfo<'_>,
    ) -> Result<(), SystemException> { ... }
    fn post_init(
        &self,
        info: &mut OrbInitInfo<'_>,
    ) -> Result<(), SystemException> { ... }
}
Expand description

PortableInterceptor::ORBInitializer: adds interceptors and slots to an ORB while it is created.

Provided Methods§

Source

fn pre_init(&self, info: &mut OrbInitInfo<'_>) -> Result<(), SystemException>

Called first, before the initial references of the ORB can be resolved.

Source

fn post_init(&self, info: &mut OrbInitInfo<'_>) -> Result<(), SystemException>

Called after every initializer’s pre_init.

Trait Implementations§

Source§

impl Debug for dyn OrbInitializer

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§