Re-exports§
pub use network::egress::addressed_router::AddressedPushRouter;pub use network::egress::addressed_router::AddressedRequest;pub use network::egress::push_router::PushRouter;pub use network::egress::push_router::RouterMode;pub use crate::engine;pub use crate::engine::AsyncEngine;pub use crate::engine::AsyncEngineContext;pub use crate::engine::AsyncEngineContextProvider;pub use crate::engine::Data;pub use crate::engine::DataStream;pub use crate::engine::Engine;pub use crate::engine::EngineStream;pub use crate::engine::EngineUnary;pub use crate::engine::ResponseStream;pub use context::Context;pub use error::PipelineError;pub use error::PipelineErrorExt;pub use error::TwoPartCodecError;
Modules§
- context
- error
- Pipeline Error
- network
- TODO - we need to reconcile what is in this crate with distributed::transports
- registry
Structs§
- Error
- The
Errortype, a wrapper around a dynamic error type. - Event
- Pipeline
Node - Pipeline
Operator - A
PipelineOperatoris a node that can transform both the forward and backward paths using the logic defined by the implementation of anOperatortrait. - Segment
Sink - Segment
Source - Service
Backend - Service
Frontend - A
ServiceFrontendis the interface for anAsyncEngine<SingleIn<Context<In>>, ManyOut<Annotated<Out>>, Error>
Traits§
- Async
Transport Engine - Operator
- An
Operatoris a trait that defines the behavior of how twoAsyncEnginecan be chained together. AnOperatoris not quite anAsyncEnginebecause its generate method requires both the upstream request, but also the downstreamAsyncEngineto which it will pass the transformed request. TheOperatorlogic must transform the upstream requestUpInto the downstream requestDownIn, then transform the downstream responseDownOutto the upstream responseUpOut. - PipelineIO
- Sink
- A
Sinktrait defines how data is received from a source and processed. - Source
- A
Sourcetrait defines how data is emitted from a source to a downstream sink.
Type Aliases§
- Bidirectional
Streaming Engine BidirectionalStreamingtakes multiple inputs and returns multiple outputs. Input and output values are considered independent of each other; however, they could be constrained to be related.- Client
Streaming Engine ClientStreamingEngine is a pipeline that takes multiple inputs and returns a single output Typically the engine will consume the entire input stream; however, it can also decided to exit early and emit a response without consuming the entire input stream.- ManyIn
- Pipeline inputs carry a
Contextwhich can be used to carry metadata or additional information about the request. This information propagates through the stages, both local and distributed. - ManyOut
- Type alias for the output of pipeline that returns multiple values
- Server
Streaming Engine ServerStreamingtakes a single input and returns multiple outputs.- Service
- Service
Engine - Single
In - Pipeline inputs carry a
Contextwhich can be used to carry metadata or additional information about the request. This information propagates through the stages, both local and distributed. - Single
Out - Type alias for the output of pipeline that returns a single value
- Unary
Engine - Unary Engine is a pipeline that takes a single input and returns a single output