Trait orchestra::MapSubsystem
source · pub trait MapSubsystem<T> {
type Output;
// Required method
fn map_subsystem(&self, sub: T) -> Self::Output;
}
Expand description
A helper trait to map a subsystem to smth. else.
Required Associated Types§
Required Methods§
sourcefn 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
.