[][src]Crate ika

welcome to the ika pool

use ika::Pool;

fn main() {
   let mut str_pool: Pool<String> = Pool::new(10);
   str_pool.spawn_some(5)
           .drain(..)
           .enumerate()
           .for_each(| (i, r) | {
               r.push_str(&i.to_string());
               r.push_str(" hallo");
           });

   let ok = str_pool.detach(2);

   str_pool.attach(2, "wowo".to_owned());
}

Structs

Iter

Immutable pool iterator.

IterMut

Mutable pool iterator.

Pool

Let's go swimming!