[][src]Struct grpcio::ServiceBuilder

pub struct ServiceBuilder { /* fields omitted */ }

Service factory in order to configure the properties.

Use it to build a service which can be registered to a server.

Methods

impl ServiceBuilder
[src]

Initialize a new ServiceBuilder.

Add a unary RPC call handler.

Add a client streaming RPC call handler.

Add a server streaming RPC call handler.

Add a duplex streaming RPC call handler.

Finalize the ServiceBuilder and build the Service.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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