Skip to main content

AdapterActivator

Trait AdapterActivator 

Source
pub trait AdapterActivator: Send + Sync {
    // Required method
    fn unknown_adapter(&self, parent: &Poa, name: &str) -> bool;
}
Expand description

PortableServer::AdapterActivator: creates child POAs on demand, when a request or Poa::find_poa names a child that does not exist.

Required Methods§

Source

fn unknown_adapter(&self, parent: &Poa, name: &str) -> bool

Creates the child name of parent (with Poa::create_poa) and returns true, or returns false if there is no such POA. Called on an upcall thread; calls for the same name are made one at a time, and requests for it wait for the result.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§