[][src]Struct tink_testing_server::proto::mac_server::MacServer

pub struct MacServer<T: Mac> {
    inner: _Inner<T>,
}

Service to compute and verify MACs

Fields

inner: _Inner<T>

Implementations

impl<T: Mac> MacServer<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: Mac> Clone for MacServer<T>[src]

impl<T: Debug + Mac> Debug for MacServer<T>[src]

impl<T: Mac> NamedService for MacServer<T>[src]

impl<T, B> Service<Request<B>> for MacServer<T> where
    T: Mac,
    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 MacServer<T>

impl<T> Send for MacServer<T>

impl<T> Sync for MacServer<T>

impl<T> Unpin for MacServer<T>

impl<T> !UnwindSafe for MacServer<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> Conv for T

impl<T> FmtForward for T

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

impl<T, ReqBody, ResBody> GrpcService<ReqBody> for T where
    ResBody: Body + Body,
    T: Service<Request<ReqBody>, Response = Response<ResBody>>,
    <T as Service<Request<ReqBody>>>::Error: Into<Box<dyn Error + 'static + Sync + Send>>,
    <ResBody as Body>::Error: Into<Box<dyn Error + 'static + Sync + Send>>, 
[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> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

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]