Crate acceptor

Crate acceptor 

Source

Structsยง

Around
Accepts<Value> that runs hooks with shared context before and after delegating.
AsyncAround
AsyncAccepts<Value> that runs async hooks with shared context before and after delegating.
AsyncBranch
An AsyncAccepts implementation that forwards values when the predicate resolves to true.
AsyncFilter
An AsyncAccepts<Value> implementation that forwards values when the predicate resolves to true.
AsyncForEach
AsyncAccepts<I> implementation that forwards each item to the next acceptor.
AsyncInspect
AsyncAccepts<Value> implementation that inspects the value before passing it on.
AsyncMap
AsyncAccepts<Input> implementation that maps the value before passing it on.
AsyncOnce
AsyncAccepts<T> implementation that forwards only once.
AsyncRepeat
AsyncResultRouter
AsyncAccepts<Result<OkValue, ErrValue>> implementation that delegates to Ok or Err acceptors.
AsyncRouter
AsyncRouterEntry
AsyncStatefulCallback
AsyncAccepts<Value> implementation that runs a closure with shared state.
Batch
An Accepts implementation that batches values and forwards them when the buffer reaches the specified size.
Branch
DerefForwarder
Filter
Accepts<Value> implementation that forwards values when the predicate returns true.
ForEach
Accepts<I> implementation that forwards each item to the next acceptor.
Inspect
Accepts<Value> implementation that inspects the value before passing it on.
Map
Accepts<Input> implementation that maps the value before passing it on.
Once
Accepts<T> implementation that forwards only once.
Repeat
ResultRouter
Accepts<Result<OkValue, ErrValue>> implementation that delegates to Ok or Err acceptors.
Router
RouterEntry
StatefulCallback
Accepts<Value> implementation that runs a closure with shared state.