Struct ntex_io::WriteContext
source · pub struct WriteContext(_);
Expand description
Context for io write task
Implementations§
source§impl WriteContext
impl WriteContext
sourcepub fn memory_pool(&self) -> PoolRef
pub fn memory_pool(&self) -> PoolRef
Return memory pool for this context
sourcepub fn poll_ready(&self, cx: &mut Context<'_>) -> Poll<WriteStatus>
pub fn poll_ready(&self, cx: &mut Context<'_>) -> Poll<WriteStatus>
Check readiness for write operations
sourcepub fn get_write_buf(&self) -> Option<BytesVec>
pub fn get_write_buf(&self) -> Option<BytesVec>
Get write buffer