pub trait Details:
GetServerConfig
+ 'static
+ Sized {
type AppCreatorT;
type AppT;
type ExtraRunningState: Clone + Debug;
type ExtraSharedState;
type ObjectStoreT;
const NAME: Name;
// Required methods
fn create_running_state(
server: &ServerImpl<Self>,
constellation: &Constellation,
) -> Result<Self::ExtraRunningState>;
fn create_extra_shared_state(
config: &Config,
) -> Result<Self::ExtraSharedState>;
}Expand description
Details needed to create a ServerImpl type.
Required Associated Constants§
Required Associated Types§
type AppCreatorT
type AppT
type ExtraRunningState: Clone + Debug
type ObjectStoreT
Required Methods§
fn create_running_state( server: &ServerImpl<Self>, constellation: &Constellation, ) -> Result<Self::ExtraRunningState>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.