Skip to main content

AttachSpawned

Type Alias AttachSpawned 

Source
pub type AttachSpawned<Prod, Cons> = Attach<Spawned, Prod, Cons>;
Expand description

Type alias for clarity at call sites.

Aliased Type§

pub struct AttachSpawned<Prod, Cons> { /* private fields */ }

Trait Implementations§

Source§

impl<Prod, Cons> From<AttachConfig<Prod, Cons>> for AttachSpawned<Prod, Cons>
where Prod: Producer, Cons: Consumer<Item = Prod::Item, Snap = Prod::Snap>,

Source§

fn from(c: AttachConfig<Prod, Cons>) -> Self

Converts to this type from the input type.