#[repr(C)]
pub enum Shutdown {
Read,
Write,
}
Expand description
The stream’s side to shutdown.
This should be used when calling stream_shutdown()
.
Variants
Read
Stop receiving stream data.
Write
Stop sending stream data.
#[repr(C)]
pub enum Shutdown {
Read,
Write,
}
The stream’s side to shutdown.
This should be used when calling stream_shutdown()
.
Read
Stop receiving stream data.
Write
Stop sending stream data.