#[repr(u32)]pub enum grpc_server_register_method_payload_handling {
GRPC_SRM_PAYLOAD_NONE = 0,
GRPC_SRM_PAYLOAD_READ_INITIAL_BYTE_BUFFER = 1,
}Expand description
How to handle payloads for a registered method
Variants§
GRPC_SRM_PAYLOAD_NONE = 0
Don’t try to read the payload
GRPC_SRM_PAYLOAD_READ_INITIAL_BYTE_BUFFER = 1
Read the initial payload as a byte buffer
Trait Implementations§
Source§impl Clone for grpc_server_register_method_payload_handling
impl Clone for grpc_server_register_method_payload_handling
Source§fn clone(&self) -> grpc_server_register_method_payload_handling
fn clone(&self) -> grpc_server_register_method_payload_handling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for grpc_server_register_method_payload_handling
impl PartialEq for grpc_server_register_method_payload_handling
Source§fn eq(&self, other: &grpc_server_register_method_payload_handling) -> bool
fn eq(&self, other: &grpc_server_register_method_payload_handling) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for grpc_server_register_method_payload_handling
impl Eq for grpc_server_register_method_payload_handling
impl StructuralPartialEq for grpc_server_register_method_payload_handling
Auto Trait Implementations§
impl Freeze for grpc_server_register_method_payload_handling
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 UnsafeUnpin for grpc_server_register_method_payload_handling
impl UnwindSafe for grpc_server_register_method_payload_handling
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more