Struct hyper::ffi::hyper_context
source · pub struct hyper_context<'a>(/* private fields */);
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
An async context for a task that contains the related waker.
This is provided to hyper_io
’s read and write callbacks. Currently
its only purpose is to provide access to the waker. See hyper_waker
.
Corresponding Rust type: https://doc.rust-lang.org/std/task/struct.Context.html
Auto Trait Implementations§
impl<'a> Freeze for hyper_context<'a>
impl<'a> !RefUnwindSafe for hyper_context<'a>
impl<'a> !Send for hyper_context<'a>
impl<'a> !Sync for hyper_context<'a>
impl<'a> Unpin for hyper_context<'a>
impl<'a> !UnwindSafe for hyper_context<'a>
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