Struct ntex_io::WriteContext
source · pub struct WriteContext(/* private fields */);
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
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteContext
impl !RefUnwindSafe for WriteContext
impl !Send for WriteContext
impl !Sync for WriteContext
impl Unpin for WriteContext
impl !UnwindSafe for WriteContext
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