pub struct WireContext {
pub outgoing: Receiver<RpcFrame>,
pub incoming: Arc<HostContext>,
}
Expand description
Items necessary for implementing a custom I/O Task
Fields§
§outgoing: Receiver<RpcFrame>
This is a stream of frames that should be placed on the wire towards the server.
incoming: Arc<HostContext>
This shared information contains the WaitMap used for replying to open requests.
Auto Trait Implementations§
impl Freeze for WireContext
impl !RefUnwindSafe for WireContext
impl Send for WireContext
impl Sync for WireContext
impl Unpin for WireContext
impl !UnwindSafe for WireContext
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