pub struct HostContext { /* private fields */ }
Expand description
Shared context between HostClient and the I/O worker task
Implementations§
Source§impl HostContext
impl HostContext
Sourcepub fn process_did_wake(&self, frame: RpcFrame) -> Result<bool, ProcessError>
pub fn process_did_wake(&self, frame: RpcFrame) -> Result<bool, ProcessError>
Like HostContext::process
but tells you if we processed the message or
nobody wanted it
Auto Trait Implementations§
impl !Freeze for HostContext
impl !RefUnwindSafe for HostContext
impl Send for HostContext
impl Sync for HostContext
impl Unpin for HostContext
impl !UnwindSafe for HostContext
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