pub struct PartitionUnitParams<'a> {
pub vtl_guest_memory: [Option<&'a GuestMemory>; 3],
pub processor_topology: &'a ProcessorTopology,
pub halt_vps: Arc<Halt>,
pub halt_request_recv: HaltReasonReceiver,
pub client_notify_send: Sender<HaltReason>,
pub debugger_rpc: Option<Receiver<DebugRequest>>,
}
Fields§
§vtl_guest_memory: [Option<&'a GuestMemory>; 3]
§processor_topology: &'a ProcessorTopology
§halt_vps: Arc<Halt>
Tracks the halt state of VPs.
halt_request_recv: HaltReasonReceiver
The receiver returned from Halt::new()
.
client_notify_send: Sender<HaltReason>
Notified when the partition has been halted (due to a triple fault or other reason).
debugger_rpc: Option<Receiver<DebugRequest>>
Auto Trait Implementations§
impl<'a> Freeze for PartitionUnitParams<'a>
impl<'a> !RefUnwindSafe for PartitionUnitParams<'a>
impl<'a> Send for PartitionUnitParams<'a>
impl<'a> Sync for PartitionUnitParams<'a>
impl<'a> Unpin for PartitionUnitParams<'a>
impl<'a> !UnwindSafe for PartitionUnitParams<'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