#[repr(u32)]pub enum ShimEventToShim {
StartRes,
Syscall(ShimEventSyscall),
AddThreadReq(ShimEventAddThreadReq),
SyscallComplete(ShimEventSyscallComplete),
SyscallDoNative,
}
Variants§
StartRes
First message from shadow, indicating that it is ready for the shim to start executing.
Syscall(ShimEventSyscall)
Request to execute the given syscall natively.
AddThreadReq(ShimEventAddThreadReq)
Request from Shadow to Shim to take the included shared memory block,
which holds an IpcData
, and use it to initialize a newly spawned
thread.
SyscallComplete(ShimEventSyscallComplete)
Response to ShimEventToShadow::Syscall
SyscallDoNative
Response to ShimEventToShadow::Syscall indicating to execute it natively.
Trait Implementations§
source§impl Clone for ShimEventToShim
impl Clone for ShimEventToShim
source§fn clone(&self) -> ShimEventToShim
fn clone(&self) -> ShimEventToShim
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 ShimEventToShim
impl Debug for ShimEventToShim
impl Copy for ShimEventToShim
Auto Trait Implementations§
impl Freeze for ShimEventToShim
impl RefUnwindSafe for ShimEventToShim
impl Send for ShimEventToShim
impl Sync for ShimEventToShim
impl Unpin for ShimEventToShim
impl UnwindSafe for ShimEventToShim
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
)