Enum grpcio_sys::grpc_server_register_method_payload_handling[][src]

#[repr(u32)]pub enum grpc_server_register_method_payload_handling {
    GRPC_SRM_PAYLOAD_NONE,
    GRPC_SRM_PAYLOAD_READ_INITIAL_BYTE_BUFFER,
}

How to handle payloads for a registered method

Variants

GRPC_SRM_PAYLOAD_NONE

Don’t try to read the payload

GRPC_SRM_PAYLOAD_READ_INITIAL_BYTE_BUFFER

Read the initial payload as a byte buffer

Trait Implementations

impl Clone for grpc_server_register_method_payload_handling[src]

impl Copy for grpc_server_register_method_payload_handling[src]

impl Debug for grpc_server_register_method_payload_handling[src]

impl Eq for grpc_server_register_method_payload_handling[src]

impl Hash for grpc_server_register_method_payload_handling[src]

impl PartialEq<grpc_server_register_method_payload_handling> for grpc_server_register_method_payload_handling[src]

impl StructuralEq for grpc_server_register_method_payload_handling[src]

impl StructuralPartialEq for grpc_server_register_method_payload_handling[src]

Auto Trait Implementations

impl RefUnwindSafe for grpc_server_register_method_payload_handling

impl Send for grpc_server_register_method_payload_handling

impl Sync for grpc_server_register_method_payload_handling

impl Unpin for grpc_server_register_method_payload_handling

impl UnwindSafe for grpc_server_register_method_payload_handling

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> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.