Trait virt::PartitionAccessState

source ·
pub trait PartitionAccessState {
    type StateAccess<'a>: AccessVmState
       where Self: 'a;

    // Required method
    fn access_state(&self, vtl: Vtl) -> Self::StateAccess<'_>;
}
Expand description

Provides access to partition state for save, restore, and reset.

This is not part of Partition because some scenarios do not require such access.

Required Associated Types§

source

type StateAccess<'a>: AccessVmState where Self: 'a

Required Methods§

source

fn access_state(&self, vtl: Vtl) -> Self::StateAccess<'_>

Returns an object to access VM state for the specified VTL.

Object Safety§

This trait is not object safe.

Implementors§