Struct grpcio::WriteFlags
[−]
[src]
pub struct WriteFlags { /* fields omitted */ }
Methods
impl WriteFlags
[src]
fn buffer_hint(self, need_buffered: bool) -> WriteFlags
[src]
Hint that the write may be buffered and need not go out on the wire immediately.
fn force_no_compress(self, no_compress: bool) -> WriteFlags
[src]
Force compression to be disabled.
fn get_buffer_hint(&self) -> bool
[src]
Get if buffer hint is enabled.
fn get_force_no_compress(&self) -> bool
[src]
Get if compression is disabled.
Trait Implementations
impl Default for WriteFlags
[src]
fn default() -> WriteFlags
[src]
Returns the "default value" for a type. Read more
impl Clone for WriteFlags
[src]
fn clone(&self) -> WriteFlags
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more