fedimint_server_core

Trait ServerModuleShared

Source
pub trait ServerModuleShared:
    Any
    + Send
    + Sync {
    // Required method
    fn new(task_group: TaskGroup) -> Self;
}
Expand description

A type that can be used as module-shared value inside ServerModuleInitArgs

Required Methods§

Source

fn new(task_group: TaskGroup) -> Self

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.

Implementors§