Skip to main content

IntoOrchestrator

Trait IntoOrchestrator 

Source
pub trait IntoOrchestrator {
    type SM: SessionManager;

    // Required method
    fn into_orchestrator(
        self,
    ) -> Arc<<Self::SM as SessionManager>::Orchestrator> ;
}
Expand description

A helper trait for converting various types into an Orchestrator.

This exists to simplify BlockServer::new.

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl IntoOrchestrator for Arc<Orchestrator>

Source§

impl<I: Interface<Orchestrator = SessionManager<I>>> IntoOrchestrator for Arc<SessionManager<I>>

Source§

impl<I: Interface> IntoOrchestrator for Arc<I>

Implementors§