Struct tremor_otelapis::opentelemetry::proto::collector::logs::v1::logs_service_server::LogsServiceServer[][src]

pub struct LogsServiceServer<T: LogsService> { /* fields omitted */ }

Service that can be used to push logs between one Application instrumented with OpenTelemetry and an collector, or between an collector and a central collector (in this case logs are sent/received to/from multiple Applications).

Implementations

impl<T: LogsService> LogsServiceServer<T>[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

Trait Implementations

impl<T: LogsService> Clone for LogsServiceServer<T>[src]

impl<T: Debug + LogsService> Debug for LogsServiceServer<T>[src]

impl<S: LogsService> NamedService for LogsServiceServer<S>[src]

impl<T, B> Service<Request<B>> for LogsServiceServer<T> where
    T: LogsService,
    B: HttpBody + Send + Sync + 'static,
    B::Error: Into<StdError> + Send + 'static, 
[src]

type Response = Response<BoxBody>

Responses given by the service.

type Error = Never

Errors produced by the service.

type Future = BoxFuture<Self::Response, Self::Error>

The future response value.

Auto Trait Implementations

impl<T> !RefUnwindSafe for LogsServiceServer<T>

impl<T> Send for LogsServiceServer<T>

impl<T> Sync for LogsServiceServer<T>

impl<T> Unpin for LogsServiceServer<T>

impl<T> !UnwindSafe for LogsServiceServer<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, ReqBody, ResBody> GrpcService<ReqBody> for T where
    T: Service<Request<ReqBody>, Response = Response<ResBody>>,
    ResBody: Body + Body,
    <T as Service<Request<ReqBody>>>::Error: Into<Box<dyn Error + 'static + Sync + Send, Global>>,
    <ResBody as Body>::Error: Into<Box<dyn Error + 'static + Sync + Send, Global>>, 
[src]

type ResponseBody = ResBody

Responses body given by the service.

type Error = <T as Service<Request<ReqBody>>>::Error

Errors produced by the service.

type Future = <T as Service<Request<ReqBody>>>::Future

The future response value.

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T, Request> ServiceExt<Request> for T where
    T: Service<Request> + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]