feat: add obipipeline crate with typed multi-threaded pipelines
Release / release (push) Successful in 1m12s
Release / release (push) Successful in 1m12s
Introduce the `obipipeline` crate, providing typed, composable multi-threaded pipelines with memory-bounded throttling. The crate includes a scheduler for managing pipeline stages, a throttle mechanism for concurrency control, and comprehensive build and release tooling via `.crate-kit`. - Add `Cargo.toml`, `Cargo.lock`, and `Makefile` to define the `obipipeline` package (v0.1.1) with `crossbeam-channel` dependency and build targets. - Add `LICENSE` and `LICENSE.en` files containing the CeCILL free software license agreement under French law. - Add `.gitignore` to exclude `target` and `/.cargo/config.toml` from version control. - Add `.crate-kit/` directory with build configuration (`VERSION`, `crate.mk`, `org.mk`, `dev-patch.mk`, `jj.mk`) and 21 shell scripts for API tracking, dependency management, release workflows, and wiki generation. - Add `.gitea/workflows/release.yaml` to automate releases on tag pushes, including building, publishing, and updating the wiki. - Add `src/lib.rs` to expose `scheduler` and `throttle` modules, re-exporting core types like `Pipe`, `Pipeline`, `WorkerPool`, and `Throttle`. - Add `src/scheduler/` module with `error.rs` (`PipelineError`), `macros.rs` (`make_pipe!`, `make_pipeline!`), `pipe.rs` (`Pipe`, `PipeIter`), `pool.rs` (`Pipeline`, `WorkerPool`), `runner.rs` (thread runners), and `types.rs` (`Stage`, `WorkerTask`, function aliases). - Add `src/throttle.rs` implementing `Throttle`, `ThrottleGuard`, and `throttle` function for memory-bounded concurrency control using semaphores. - Add `api/` directory with public API snapshots (`0.1.0`, `0.1.1`) in JSON, text, and stamp formats for version tracking. - Add `examples/sandbox_pipeline.rs` demonstrating pipeline construction with `make_pipeline!` and `WorkerPool` using sample transformation steps. - Add `tests/pipe.rs` with tests for pipe composition, flat transforms, and empty input handling. - Add `tests/throttle.rs` with tests verifying throttle ordering, concurrency bounds, and guard blocking behavior. - Update `README.md` with documentation for `obipipeline`, including core concepts, API details, and installation instructions.
This commit is contained in:
1 parent
873f7f7f24
commit
e14fb6a287
54 files changed
+4763
No files matched your search
+186
@@ -0,0 +1,186 @@
|
||||
pub mod obipipeline
|
||||
pub use obipipeline::PipelineSender
|
||||
pub mod obipipeline::throttle
|
||||
pub struct obipipeline::throttle::Throttle
|
||||
impl obipipeline::throttle::Throttle
|
||||
pub fn obipipeline::throttle::Throttle::acquire(&self)
|
||||
pub fn obipipeline::throttle::Throttle::new(usize) -> Self
|
||||
impl obipipeline::throttle::Throttle
|
||||
pub fn obipipeline::throttle::Throttle::acquire_guard(&alloc::rcs::arc::Arc<Self>) -> obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Forget for obipipeline::throttle::Throttle
|
||||
impl !core::marker::Freeze for obipipeline::throttle::Throttle
|
||||
impl core::marker::Move for obipipeline::throttle::Throttle
|
||||
impl core::marker::Send for obipipeline::throttle::Throttle
|
||||
impl core::marker::Sync for obipipeline::throttle::Throttle
|
||||
impl core::marker::Unpin for obipipeline::throttle::Throttle
|
||||
impl core::marker::UnsafeUnpin for obipipeline::throttle::Throttle
|
||||
impl core::panic::unwind_safe::RefUnwindSafe for obipipeline::throttle::Throttle
|
||||
impl core::panic::unwind_safe::UnwindSafe for obipipeline::throttle::Throttle
|
||||
pub struct obipipeline::throttle::ThrottleGuard(_)
|
||||
impl core::ops::drop::Drop for obipipeline::throttle::ThrottleGuard
|
||||
pub fn obipipeline::throttle::ThrottleGuard::drop(&mut self)
|
||||
impl core::marker::Forget for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Freeze for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Move for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Send for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Sync for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Unpin for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::UnsafeUnpin for obipipeline::throttle::ThrottleGuard
|
||||
impl core::panic::unwind_safe::RefUnwindSafe for obipipeline::throttle::ThrottleGuard
|
||||
impl core::panic::unwind_safe::UnwindSafe for obipipeline::throttle::ThrottleGuard
|
||||
pub struct obipipeline::throttle::Throttled<T>
|
||||
pub obipipeline::throttle::Throttled::guard: obipipeline::throttle::ThrottleGuard
|
||||
pub obipipeline::throttle::Throttled::item: T
|
||||
impl<T> core::marker::Forget for obipipeline::throttle::Throttled<T>
|
||||
impl<T> core::marker::Freeze for obipipeline::throttle::Throttled<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Move for obipipeline::throttle::Throttled<T>
|
||||
impl<T> core::marker::Send for obipipeline::throttle::Throttled<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Sync for obipipeline::throttle::Throttled<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Unpin for obipipeline::throttle::Throttled<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::UnsafeUnpin for obipipeline::throttle::Throttled<T> where T: core::marker::UnsafeUnpin
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for obipipeline::throttle::Throttled<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for obipipeline::throttle::Throttled<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
pub fn obipipeline::throttle::throttle<I>(I, usize) -> impl core::iter::traits::iterator::Iterator<Item = obipipeline::throttle::Throttled<<I as core::iter::traits::iterator::Iterator>::Item>> where I: core::iter::traits::iterator::Iterator, <I as core::iter::traits::iterator::Iterator>::Item: core::marker::Send + 'static
|
||||
pub macro obipipeline::make_flat_transform!
|
||||
pub macro obipipeline::make_flat_transform_fallible!
|
||||
pub macro obipipeline::make_pipe!
|
||||
pub macro obipipeline::make_pipeline!
|
||||
pub macro obipipeline::make_sink!
|
||||
pub macro obipipeline::make_sink_fallible!
|
||||
pub macro obipipeline::make_source!
|
||||
pub macro obipipeline::make_source_fallible!
|
||||
pub macro obipipeline::make_transform!
|
||||
pub macro obipipeline::make_transform_fallible!
|
||||
pub enum obipipeline::PipelineError
|
||||
pub obipipeline::PipelineError::EndOfStream
|
||||
pub obipipeline::PipelineError::StepError(alloc::boxed::Box<(dyn core::error::Error + core::marker::Send + core::marker::Sync)>)
|
||||
pub obipipeline::PipelineError::StepKindMismatch(&'static str)
|
||||
pub obipipeline::PipelineError::TypeMismatch
|
||||
impl core::error::Error for obipipeline::PipelineError
|
||||
pub fn obipipeline::PipelineError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
|
||||
impl core::fmt::Debug for obipipeline::PipelineError
|
||||
pub fn obipipeline::PipelineError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
|
||||
impl core::fmt::Display for obipipeline::PipelineError
|
||||
pub fn obipipeline::PipelineError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
|
||||
impl core::marker::Forget for obipipeline::PipelineError
|
||||
impl core::marker::Freeze for obipipeline::PipelineError
|
||||
impl core::marker::Move for obipipeline::PipelineError
|
||||
impl core::marker::Send for obipipeline::PipelineError
|
||||
impl core::marker::Sync for obipipeline::PipelineError
|
||||
impl core::marker::Unpin for obipipeline::PipelineError
|
||||
impl core::marker::UnsafeUnpin for obipipeline::PipelineError
|
||||
impl !core::panic::unwind_safe::RefUnwindSafe for obipipeline::PipelineError
|
||||
impl !core::panic::unwind_safe::UnwindSafe for obipipeline::PipelineError
|
||||
pub enum obipipeline::Stage<D>
|
||||
pub obipipeline::Stage::Flat(obipipeline::SharedFlatFn<D>)
|
||||
pub obipipeline::Stage::Transform(obipipeline::SharedFn<D>)
|
||||
impl<D> core::clone::Clone for obipipeline::Stage<D>
|
||||
pub fn obipipeline::Stage<D>::clone(&self) -> Self
|
||||
impl<D> core::marker::Forget for obipipeline::Stage<D>
|
||||
impl<D> core::marker::Freeze for obipipeline::Stage<D> where alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> core::result::Result<D, obipipeline::PipelineError> + core::marker::Send + core::marker::Sync)>: core::marker::Freeze, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D, &crossbeam_channel::channel::Sender<core::result::Result<D, obipipeline::PipelineError>>, &crossbeam_channel::channel::Sender<isize>) + core::marker::Send + core::marker::Sync)>: core::marker::Freeze
|
||||
impl<D> core::marker::Move for obipipeline::Stage<D>
|
||||
impl<D> core::marker::Send for obipipeline::Stage<D> where alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> core::result::Result<D, obipipeline::PipelineError> + core::marker::Send + core::marker::Sync)>: core::marker::Send, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D, &crossbeam_channel::channel::Sender<core::result::Result<D, obipipeline::PipelineError>>, &crossbeam_channel::channel::Sender<isize>) + core::marker::Send + core::marker::Sync)>: core::marker::Send
|
||||
impl<D> core::marker::Sync for obipipeline::Stage<D> where alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> core::result::Result<D, obipipeline::PipelineError> + core::marker::Send + core::marker::Sync)>: core::marker::Sync, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D, &crossbeam_channel::channel::Sender<core::result::Result<D, obipipeline::PipelineError>>, &crossbeam_channel::channel::Sender<isize>) + core::marker::Send + core::marker::Sync)>: core::marker::Sync
|
||||
impl<D> core::marker::Unpin for obipipeline::Stage<D> where alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> core::result::Result<D, obipipeline::PipelineError> + core::marker::Send + core::marker::Sync)>: core::marker::Unpin, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D, &crossbeam_channel::channel::Sender<core::result::Result<D, obipipeline::PipelineError>>, &crossbeam_channel::channel::Sender<isize>) + core::marker::Send + core::marker::Sync)>: core::marker::Unpin
|
||||
impl<D> core::marker::UnsafeUnpin for obipipeline::Stage<D> where alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> core::result::Result<D, obipipeline::PipelineError> + core::marker::Send + core::marker::Sync)>: core::marker::UnsafeUnpin, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D, &crossbeam_channel::channel::Sender<core::result::Result<D, obipipeline::PipelineError>>, &crossbeam_channel::channel::Sender<isize>) + core::marker::Send + core::marker::Sync)>: core::marker::UnsafeUnpin
|
||||
impl<D> !core::panic::unwind_safe::RefUnwindSafe for obipipeline::Stage<D>
|
||||
impl<D> !core::panic::unwind_safe::UnwindSafe for obipipeline::Stage<D>
|
||||
pub struct obipipeline::Pipe<D, In, Out>
|
||||
impl<D, In, Out> obipipeline::Pipe<D, In, Out> where D: core::marker::Send + core::marker::Sync + 'static, In: core::marker::Send + 'static, Out: core::marker::Send + 'static
|
||||
pub fn obipipeline::Pipe<D, In, Out>::apply(self, impl core::iter::traits::iterator::Iterator<Item = In> + core::marker::Send + 'static, usize, usize) -> obipipeline::PipeIter<Out>
|
||||
impl<D, In, Out> obipipeline::Pipe<D, In, Out>
|
||||
pub fn obipipeline::Pipe<D, In, Out>::new(alloc::vec::Vec<obipipeline::Stage<D>>, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(In) -> D + core::marker::Send + core::marker::Sync)>, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> Out + core::marker::Send + core::marker::Sync)>) -> Self
|
||||
pub fn obipipeline::Pipe<D, In, Out>::then<Next>(self, obipipeline::Pipe<D, Out, Next>) -> obipipeline::Pipe<D, In, Next>
|
||||
impl<D, In, Out> core::marker::Forget for obipipeline::Pipe<D, In, Out>
|
||||
impl<D, In, Out> core::marker::Freeze for obipipeline::Pipe<D, In, Out> where alloc::vec::Vec<obipipeline::Stage<D>>: core::marker::Freeze, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(In) -> D + core::marker::Send + core::marker::Sync)>: core::marker::Freeze, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> Out + core::marker::Send + core::marker::Sync)>: core::marker::Freeze, core::marker::PhantomData<(In, Out)>: core::marker::Freeze
|
||||
impl<D, In, Out> core::marker::Move for obipipeline::Pipe<D, In, Out>
|
||||
impl<D, In, Out> core::marker::Send for obipipeline::Pipe<D, In, Out> where alloc::vec::Vec<obipipeline::Stage<D>>: core::marker::Send, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(In) -> D + core::marker::Send + core::marker::Sync)>: core::marker::Send, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> Out + core::marker::Send + core::marker::Sync)>: core::marker::Send, core::marker::PhantomData<(In, Out)>: core::marker::Send
|
||||
impl<D, In, Out> core::marker::Sync for obipipeline::Pipe<D, In, Out> where alloc::vec::Vec<obipipeline::Stage<D>>: core::marker::Sync, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(In) -> D + core::marker::Send + core::marker::Sync)>: core::marker::Sync, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> Out + core::marker::Send + core::marker::Sync)>: core::marker::Sync, core::marker::PhantomData<(In, Out)>: core::marker::Sync
|
||||
impl<D, In, Out> core::marker::Unpin for obipipeline::Pipe<D, In, Out> where alloc::vec::Vec<obipipeline::Stage<D>>: core::marker::Unpin, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(In) -> D + core::marker::Send + core::marker::Sync)>: core::marker::Unpin, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> Out + core::marker::Send + core::marker::Sync)>: core::marker::Unpin, core::marker::PhantomData<(In, Out)>: core::marker::Unpin
|
||||
impl<D, In, Out> core::marker::UnsafeUnpin for obipipeline::Pipe<D, In, Out> where alloc::vec::Vec<obipipeline::Stage<D>>: core::marker::UnsafeUnpin, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(In) -> D + core::marker::Send + core::marker::Sync)>: core::marker::UnsafeUnpin, alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> Out + core::marker::Send + core::marker::Sync)>: core::marker::UnsafeUnpin, core::marker::PhantomData<(In, Out)>: core::marker::UnsafeUnpin
|
||||
impl<D, In, Out> !core::panic::unwind_safe::RefUnwindSafe for obipipeline::Pipe<D, In, Out>
|
||||
impl<D, In, Out> !core::panic::unwind_safe::UnwindSafe for obipipeline::Pipe<D, In, Out>
|
||||
pub struct obipipeline::PipeIter<Out>
|
||||
impl<Out> core::iter::traits::iterator::Iterator for obipipeline::PipeIter<Out>
|
||||
pub type obipipeline::PipeIter<Out>::Item = Out
|
||||
pub fn obipipeline::PipeIter<Out>::next(&mut self) -> core::option::Option<Out>
|
||||
impl<Out> core::ops::drop::Drop for obipipeline::PipeIter<Out>
|
||||
pub fn obipipeline::PipeIter<Out>::drop(&mut self)
|
||||
impl<Out> core::marker::Forget for obipipeline::PipeIter<Out>
|
||||
impl<Out> core::marker::Freeze for obipipeline::PipeIter<Out> where core::option::Option<crossbeam_channel::channel::Receiver<Out>>: core::marker::Freeze
|
||||
impl<Out> core::marker::Move for obipipeline::PipeIter<Out>
|
||||
impl<Out> core::marker::Send for obipipeline::PipeIter<Out> where core::option::Option<crossbeam_channel::channel::Receiver<Out>>: core::marker::Send
|
||||
impl<Out> core::marker::Sync for obipipeline::PipeIter<Out> where core::option::Option<crossbeam_channel::channel::Receiver<Out>>: core::marker::Sync
|
||||
impl<Out> core::marker::Unpin for obipipeline::PipeIter<Out> where core::option::Option<crossbeam_channel::channel::Receiver<Out>>: core::marker::Unpin
|
||||
impl<Out> core::marker::UnsafeUnpin for obipipeline::PipeIter<Out> where core::option::Option<crossbeam_channel::channel::Receiver<Out>>: core::marker::UnsafeUnpin
|
||||
impl<Out> !core::panic::unwind_safe::RefUnwindSafe for obipipeline::PipeIter<Out>
|
||||
impl<Out> !core::panic::unwind_safe::UnwindSafe for obipipeline::PipeIter<Out>
|
||||
pub struct obipipeline::Pipeline<DATA>
|
||||
impl<DATA> obipipeline::Pipeline<DATA>
|
||||
pub fn obipipeline::Pipeline<DATA>::new(obipipeline::SourceFn<DATA>, alloc::vec::Vec<obipipeline::Stage<DATA>>, obipipeline::SinkFn<DATA>) -> Self
|
||||
impl<DATA> core::marker::Forget for obipipeline::Pipeline<DATA>
|
||||
impl<DATA> core::marker::Freeze for obipipeline::Pipeline<DATA> where alloc::boxed::Box<(dyn core::ops::function::FnMut() -> core::result::Result<DATA, obipipeline::PipelineError> + core::marker::Send)>: core::marker::Freeze, alloc::vec::Vec<obipipeline::Stage<DATA>>: core::marker::Freeze, alloc::boxed::Box<(dyn core::ops::function::Fn(DATA) -> core::result::Result<(), obipipeline::PipelineError> + core::marker::Send)>: core::marker::Freeze
|
||||
impl<DATA> core::marker::Move for obipipeline::Pipeline<DATA>
|
||||
impl<DATA> core::marker::Send for obipipeline::Pipeline<DATA> where alloc::boxed::Box<(dyn core::ops::function::FnMut() -> core::result::Result<DATA, obipipeline::PipelineError> + core::marker::Send)>: core::marker::Send, alloc::vec::Vec<obipipeline::Stage<DATA>>: core::marker::Send, alloc::boxed::Box<(dyn core::ops::function::Fn(DATA) -> core::result::Result<(), obipipeline::PipelineError> + core::marker::Send)>: core::marker::Send
|
||||
impl<DATA> !core::marker::Sync for obipipeline::Pipeline<DATA>
|
||||
impl<DATA> core::marker::Unpin for obipipeline::Pipeline<DATA> where alloc::boxed::Box<(dyn core::ops::function::FnMut() -> core::result::Result<DATA, obipipeline::PipelineError> + core::marker::Send)>: core::marker::Unpin, alloc::vec::Vec<obipipeline::Stage<DATA>>: core::marker::Unpin, alloc::boxed::Box<(dyn core::ops::function::Fn(DATA) -> core::result::Result<(), obipipeline::PipelineError> + core::marker::Send)>: core::marker::Unpin
|
||||
impl<DATA> core::marker::UnsafeUnpin for obipipeline::Pipeline<DATA> where alloc::boxed::Box<(dyn core::ops::function::FnMut() -> core::result::Result<DATA, obipipeline::PipelineError> + core::marker::Send)>: core::marker::UnsafeUnpin, alloc::vec::Vec<obipipeline::Stage<DATA>>: core::marker::UnsafeUnpin, alloc::boxed::Box<(dyn core::ops::function::Fn(DATA) -> core::result::Result<(), obipipeline::PipelineError> + core::marker::Send)>: core::marker::UnsafeUnpin
|
||||
impl<DATA> !core::panic::unwind_safe::RefUnwindSafe for obipipeline::Pipeline<DATA>
|
||||
impl<DATA> !core::panic::unwind_safe::UnwindSafe for obipipeline::Pipeline<DATA>
|
||||
pub struct obipipeline::Throttle
|
||||
impl obipipeline::throttle::Throttle
|
||||
pub fn obipipeline::throttle::Throttle::acquire(&self)
|
||||
pub fn obipipeline::throttle::Throttle::new(usize) -> Self
|
||||
impl obipipeline::throttle::Throttle
|
||||
pub fn obipipeline::throttle::Throttle::acquire_guard(&alloc::rcs::arc::Arc<Self>) -> obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Forget for obipipeline::throttle::Throttle
|
||||
impl !core::marker::Freeze for obipipeline::throttle::Throttle
|
||||
impl core::marker::Move for obipipeline::throttle::Throttle
|
||||
impl core::marker::Send for obipipeline::throttle::Throttle
|
||||
impl core::marker::Sync for obipipeline::throttle::Throttle
|
||||
impl core::marker::Unpin for obipipeline::throttle::Throttle
|
||||
impl core::marker::UnsafeUnpin for obipipeline::throttle::Throttle
|
||||
impl core::panic::unwind_safe::RefUnwindSafe for obipipeline::throttle::Throttle
|
||||
impl core::panic::unwind_safe::UnwindSafe for obipipeline::throttle::Throttle
|
||||
pub struct obipipeline::ThrottleGuard(_)
|
||||
impl core::ops::drop::Drop for obipipeline::throttle::ThrottleGuard
|
||||
pub fn obipipeline::throttle::ThrottleGuard::drop(&mut self)
|
||||
impl core::marker::Forget for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Freeze for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Move for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Send for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Sync for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::Unpin for obipipeline::throttle::ThrottleGuard
|
||||
impl core::marker::UnsafeUnpin for obipipeline::throttle::ThrottleGuard
|
||||
impl core::panic::unwind_safe::RefUnwindSafe for obipipeline::throttle::ThrottleGuard
|
||||
impl core::panic::unwind_safe::UnwindSafe for obipipeline::throttle::ThrottleGuard
|
||||
pub struct obipipeline::Throttled<T>
|
||||
pub obipipeline::Throttled::guard: obipipeline::throttle::ThrottleGuard
|
||||
pub obipipeline::Throttled::item: T
|
||||
impl<T> core::marker::Forget for obipipeline::throttle::Throttled<T>
|
||||
impl<T> core::marker::Freeze for obipipeline::throttle::Throttled<T> where T: core::marker::Freeze
|
||||
impl<T> core::marker::Move for obipipeline::throttle::Throttled<T>
|
||||
impl<T> core::marker::Send for obipipeline::throttle::Throttled<T> where T: core::marker::Send
|
||||
impl<T> core::marker::Sync for obipipeline::throttle::Throttled<T> where T: core::marker::Sync
|
||||
impl<T> core::marker::Unpin for obipipeline::throttle::Throttled<T> where T: core::marker::Unpin
|
||||
impl<T> core::marker::UnsafeUnpin for obipipeline::throttle::Throttled<T> where T: core::marker::UnsafeUnpin
|
||||
impl<T> core::panic::unwind_safe::RefUnwindSafe for obipipeline::throttle::Throttled<T> where T: core::panic::unwind_safe::RefUnwindSafe
|
||||
impl<T> core::panic::unwind_safe::UnwindSafe for obipipeline::throttle::Throttled<T> where T: core::panic::unwind_safe::UnwindSafe
|
||||
pub struct obipipeline::WorkerPool<DATA>
|
||||
impl<DATA> obipipeline::WorkerPool<DATA> where DATA: core::marker::Send + core::marker::Sync + 'static
|
||||
pub fn obipipeline::WorkerPool<DATA>::new(obipipeline::Pipeline<DATA>, usize, usize) -> Self
|
||||
pub fn obipipeline::WorkerPool<DATA>::run(self)
|
||||
impl<DATA> core::marker::Forget for obipipeline::WorkerPool<DATA>
|
||||
impl<DATA> core::marker::Freeze for obipipeline::WorkerPool<DATA> where obipipeline::Pipeline<DATA>: core::marker::Freeze
|
||||
impl<DATA> core::marker::Move for obipipeline::WorkerPool<DATA>
|
||||
impl<DATA> core::marker::Send for obipipeline::WorkerPool<DATA> where obipipeline::Pipeline<DATA>: core::marker::Send
|
||||
impl<DATA> !core::marker::Sync for obipipeline::WorkerPool<DATA>
|
||||
impl<DATA> core::marker::Unpin for obipipeline::WorkerPool<DATA> where obipipeline::Pipeline<DATA>: core::marker::Unpin
|
||||
impl<DATA> core::marker::UnsafeUnpin for obipipeline::WorkerPool<DATA> where obipipeline::Pipeline<DATA>: core::marker::UnsafeUnpin
|
||||
impl<DATA> !core::panic::unwind_safe::RefUnwindSafe for obipipeline::WorkerPool<DATA>
|
||||
impl<DATA> !core::panic::unwind_safe::UnwindSafe for obipipeline::WorkerPool<DATA>
|
||||
pub fn obipipeline::throttle<I>(I, usize) -> impl core::iter::traits::iterator::Iterator<Item = obipipeline::throttle::Throttled<<I as core::iter::traits::iterator::Iterator>::Item>> where I: core::iter::traits::iterator::Iterator, <I as core::iter::traits::iterator::Iterator>::Item: core::marker::Send + 'static
|
||||
pub type obipipeline::SharedFlatFn<D> = alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D, &crossbeam_channel::channel::Sender<core::result::Result<D, obipipeline::PipelineError>>, &crossbeam_channel::channel::Sender<isize>) + core::marker::Send + core::marker::Sync)>
|
||||
pub type obipipeline::SharedFn<D> = alloc::rcs::arc::Arc<(dyn core::ops::function::Fn(D) -> core::result::Result<D, obipipeline::PipelineError> + core::marker::Send + core::marker::Sync)>
|
||||
pub type obipipeline::SinkFn<D> = alloc::boxed::Box<(dyn core::ops::function::Fn(D) -> core::result::Result<(), obipipeline::PipelineError> + core::marker::Send)>
|
||||
pub type obipipeline::SourceFn<D> = alloc::boxed::Box<(dyn core::ops::function::FnMut() -> core::result::Result<D, obipipeline::PipelineError> + core::marker::Send)>
|
||||
Reference in new issue
Block a user