Enum grpcio::MethodType [−][src]
pub enum MethodType { Unary, ClientStreaming, ServerStreaming, Duplex, }
Method types supported by gRPC.
Variants
Unary
Single request sent from client, single response received from server.
ClientStreaming
Stream of requests sent from client, single response received from server.
ServerStreaming
Single request sent from client, stream of responses received from server.
Duplex
Both server and client can stream arbitrary number of requests and responses simultaneously.
Trait Implementations
impl Clone for MethodType
[src]
impl Clone for MethodType
fn clone(&self) -> MethodType
[src]
fn clone(&self) -> MethodType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MethodType
[src]
impl Copy for MethodType
Auto Trait Implementations
impl Send for MethodType
impl Send for MethodType
impl Sync for MethodType
impl Sync for MethodType