#[repr(u32)]pub enum ShimEventToShadow {
StartReq(ShimEventStartReq),
ProcessDeath,
Syscall(ShimEventSyscall),
SyscallComplete(ShimEventSyscallComplete),
AddThreadRes(ShimEventAddThreadRes),
}
Expand description
A message between Shadow and the Shim.
Variants§
StartReq(ShimEventStartReq)
First message from the shim, requesting that it’s ready to start executing.
ProcessDeath
The whole process has died. We inject this event to trigger cleanup after we’ve detected that the native process has died.
Syscall(ShimEventSyscall)
Request to emulate the given syscall.
SyscallComplete(ShimEventSyscallComplete)
Response to ShimEventToShim::Syscall
AddThreadRes(ShimEventAddThreadRes)
Response to ShimEventToShim::AddThreadReq
Trait Implementations§
source§impl Clone for ShimEventToShadow
impl Clone for ShimEventToShadow
source§fn clone(&self) -> ShimEventToShadow
fn clone(&self) -> ShimEventToShadow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShimEventToShadow
impl Debug for ShimEventToShadow
impl Copy for ShimEventToShadow
Auto Trait Implementations§
impl Freeze for ShimEventToShadow
impl RefUnwindSafe for ShimEventToShadow
impl Send for ShimEventToShadow
impl Sync for ShimEventToShadow
impl Unpin for ShimEventToShadow
impl UnwindSafe for ShimEventToShadow
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)