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§
Sourcefn pre_init(&self, info: &mut OrbInitInfo<'_>) -> Result<(), SystemException>
fn pre_init(&self, info: &mut OrbInitInfo<'_>) -> Result<(), SystemException>
Called first, before the initial references of the ORB can be resolved.
Sourcefn post_init(&self, info: &mut OrbInitInfo<'_>) -> Result<(), SystemException>
fn post_init(&self, info: &mut OrbInitInfo<'_>) -> Result<(), SystemException>
Called after every initializer’s pre_init.
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".