Trait grpcio_health::proto::Health[][src]

pub trait Health {
    fn check(
        &mut self,
        ctx: RpcContext<'_>,
        req: HealthCheckRequest,
        sink: UnarySink<HealthCheckResponse>
    );
fn watch(
        &mut self,
        ctx: RpcContext<'_>,
        req: HealthCheckRequest,
        sink: ServerStreamingSink<HealthCheckResponse>
    ); }

Required methods

fn check(
    &mut self,
    ctx: RpcContext<'_>,
    req: HealthCheckRequest,
    sink: UnarySink<HealthCheckResponse>
)
[src]

fn watch(
    &mut self,
    ctx: RpcContext<'_>,
    req: HealthCheckRequest,
    sink: ServerStreamingSink<HealthCheckResponse>
)
[src]

Loading content...

Implementors

impl Health for HealthService[src]

Loading content...