MCPcopy Create free account

hub / github.com/NfNitLoop/pipeliner / functions

Functions35 in github.com/NfNitLoop/pipeliner

↓ 11 callersFunctionnew
(builder: PipelineBuilder<I>, callable: F)
src/ordered/mod.rs:30
↓ 8 callersMethodwith_threads
(self, num_threads: usize)
src/lib.rs:64
↓ 7 callersMethodmap
Apply `callable` to items from the input Iterator and make them available via the output iterator. Note that the order of items in the output Iterato
src/lib.rs:114
↓ 3 callersMethodclone
(&self)
src/unordered.rs:168
↓ 3 callersMethodordered_map
Like `map()`, but does some extra work to ensure that results in the output match the order of their inputs from the input Iterator. This requires a b
src/lib.rs:125
↓ 2 callersMethodclone
(&self)
src/ordered/mod.rs:173
↓ 2 callersFunctionpropagate_panics
Wait for all threads to close. Panics if any of them panicked.
src/unordered.rs:75
↓ 2 callersMethodpropagate_panics
Makes panics that were experienced in the worker/producer threads visible on the consumer thread. Calling this function ends output -- we will wait fo
src/unordered.rs:66
↓ 2 callersMethodpropagate_panics
(&mut self)
src/ordered/mod.rs:23
↓ 2 callersMethodsend
(&self, item: T)
src/panic_guard.rs:19
↓ 2 callersMethodsend
Sends an item, consuming the sender. Never blocks. Does not error or panic if the receiver is already closed. (You can only ever send one thing.)
src/ordered/promise.rs:21
↓ 1 callersMethodnum_threads
Set how many worker threads should be used to perform this work. A value of 0 is interpreted as 1.
src/lib.rs:94
↓ 1 callersFunctionpanic_msg_from
Try to reconstruct a panic message from the original: Thanks to kimundi on #rust-beginners for helping me sort this out. :)
src/unordered.rs:91
↓ 1 callersMethodreceive
Block waiting for the value. May return an error if the sender was dropped before a value was sent.
src/ordered/promise.rs:41
↓ 1 callersMethodresult
(self)
src/unordered.rs:196
Functionbasic_test
()
src/tests.rs:7
Functionbasic_test_ordered
()
src/tests.rs:24
Methoddrop
(&mut self)
src/panic_guard.rs:60
Functionnew
Create a new promise sender/receiver for sending a single value to aonther waiting thread.
src/ordered/promise.rs:7
Methodnew
(iterator: I)
src/lib.rs:85
Methodnew
(sender: S)
src/panic_guard.rs:15
Methodnew
(builder: PipelineBuilder<I>, callable: F)
src/unordered.rs:23
Methodnext
Iterates through executor results. # Panics # Note, this call will panic if any of the worker threads panicked. This is because, in that case, you ca
src/unordered.rs:113
Methodnext
Iterates through executor results. # Panics # Note, this call will panic if any of the worker threads panicked. This is because, in that case, you ca
src/ordered/mod.rs:81
Methodout_buffer
Set how many output values to cache. The default, 0, results in synchronous output. Note that in effect each thread caches its output as it waits to s
src/lib.rs:102
Functionparallel_test
()
src/tests.rs:74
Functionpipe_a
(x: i32)
src/tests.rs:92
Functionpipe_b
(x: i32)
src/tests.rs:98
Functionsending_and_receiving
(b: &mut Bencher)
benches/benchmarks.rs:14
Functionsending_and_receiving_ordered
(b: &mut Bencher)
benches/benchmarks.rs:30
Functionserial_test
()
src/tests.rs:83
Functiontest_panic
()
src/tests.rs:37
Functiontest_panic_ordered
()
src/tests.rs:56
Methodwrap
(iterator: I)
src/unordered.rs:156
Methodwrap
(iterator: I, chan: crossbeam_channel::Sender<promise::Receiver<Out>>)
src/ordered/mod.rs:126