Struct medea_control_api_proto::grpc::callback::callback_server::CallbackServer    [−][src]
Service for receiving callbacks from Medea media server.
Implementations
impl<T: Callback> CallbackServer<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: Callback> Clone for CallbackServer<T>[src]
fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T: Debug + Callback> Debug for CallbackServer<T>[src]
impl<T: Callback> NamedService for CallbackServer<T>[src]
impl<T, B> Service<Request<B>> for CallbackServer<T> where
    T: Callback,
    B: HttpBody + Send + Sync + 'static,
    B::Error: Into<StdError> + Send + 'static, [src]
T: Callback,
B: HttpBody + Send + Sync + 'static,
B::Error: Into<StdError> + Send + 'static,
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.
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>[src]
fn call(&mut self, req: Request<B>) -> Self::Future[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for CallbackServer<T>[src]
impl<T> Send for CallbackServer<T>[src]
impl<T> Sync for CallbackServer<T>[src]
impl<T> Unpin for CallbackServer<T>[src]
impl<T> !UnwindSafe for CallbackServer<T>[src]
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[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]
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>>,
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.
pub fn poll_ready(
    &mut self, 
    cx: &mut Context<'_>
) -> Poll<Result<(), <T as GrpcService<ReqBody>>::Error>>[src]
&mut self,
cx: &mut Context<'_>
) -> Poll<Result<(), <T as GrpcService<ReqBody>>::Error>>
pub fn call(
    &mut self, 
    request: Request<ReqBody>
) -> <T as GrpcService<ReqBody>>::Future[src]
&mut self,
request: Request<ReqBody>
) -> <T as GrpcService<ReqBody>>::Future
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> IntoRequest<T> for T[src]
pub fn into_request(self) -> Request<T>[src]
impl<T, Request> ServiceExt<Request> for T where
    T: Service<Request> + ?Sized, [src]
T: Service<Request> + ?Sized,
pub fn ready(&mut self) -> Ready<'_, Self, Request>[src]
pub fn ready_and(&mut self) -> ReadyAnd<'_, Self, Request>[src]
pub fn ready_oneshot(self) -> ReadyOneshot<Self, Request>[src]
pub fn oneshot(self, req: Request) -> Oneshot<Self, Request>[src]
pub fn call_all<S>(self, reqs: S) -> CallAll<Self, S> where
    S: Stream<Item = Request>,
    Self::Error: Into<Box<dyn Error + 'static + Sync + Send, Global>>, [src]
S: Stream<Item = Request>,
Self::Error: Into<Box<dyn Error + 'static + Sync + Send, Global>>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, [src]
S: Into<Dispatch>,