pub struct Chain {Show 24 fields
pub lifecycle: Lifecycle,
pub metadata: Option<Metadata>,
pub multisocket: Option<Option<usize>>,
pub reload: Option<Reload>,
pub nsid: Option<Nsid>,
pub bufsize: Option<Bufsize>,
pub bind: Option<()>,
pub ready: Option<Ready>,
pub health: Option<Health>,
pub prometheus: Option<Prometheus>,
pub errors: Option<Errors>,
pub log: Option<Log>,
pub local: Option<Local>,
pub any: Option<Any>,
pub chaos: Option<Chaos>,
pub loadbalance: Option<LoadBalance>,
pub cache: Option<Cache>,
pub header: Option<Header>,
pub minimal: Option<Minimal>,
pub hosts: Option<Hosts>,
pub kubernetes: Option<Kubernetes>,
pub loop: Option<Loop>,
pub forward: Option<Forward>,
pub whoami: Option<Whoami>,
}Fields§
§lifecycle: Lifecycle§metadata: Option<Metadata>§multisocket: Option<Option<usize>>§reload: Option<Reload>§nsid: Option<Nsid>§bufsize: Option<Bufsize>§bind: Option<()>§ready: Option<Ready>§health: Option<Health>§prometheus: Option<Prometheus>§errors: Option<Errors>§log: Option<Log>§local: Option<Local>§any: Option<Any>§chaos: Option<Chaos>§loadbalance: Option<LoadBalance>§cache: Option<Cache>§header: Option<Header>§minimal: Option<Minimal>§hosts: Option<Hosts>§kubernetes: Option<Kubernetes>§loop: Option<Loop>§forward: Option<Forward>§whoami: Option<Whoami>Implementations§
Trait Implementations§
Source§impl Chain for Chain
impl Chain for Chain
fn serve(&self, cx: &mut Context<'_>) -> impl Future<Output = Outcome> + Send
fn is_empty(&self) -> bool
fn visit_enabled(&self, visit: &mut dyn FnMut(&'static str))
fn parallel_query(&self, query: &Message<'_>) -> Option<Receiver<bool>>
fn metrics_enabled(&self) -> bool
Source§fn stacktrace(&self) -> bool
fn stacktrace(&self) -> bool
Whether contained Plugin panics should include a stacktrace.
Auto Trait Implementations§
impl !Freeze for Chain
impl !RefUnwindSafe for Chain
impl !UnwindSafe for Chain
impl Forget for Chain
impl Move for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnsafeUnpin for Chain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more