Trait polkadot_overseer_gen::MapSubsystem [−][src]
pub trait MapSubsystem<T> {
type Output;
fn map_subsystem(&self, sub: T) -> Self::Output;
}
Expand description
A helper trait to map a subsystem to smth. else.
Associated Types
Required methods
fn map_subsystem(&self, sub: T) -> Self::Output
fn map_subsystem(&self, sub: T) -> Self::Output
Consumes a T
per subsystem, and maps it to Self::Output
.