pub struct QuantumSandbox {
pub sandbox_id: u64,
pub isolated_processes: HashMap<u64, IsolatedQuantumProcess>,
pub resource_quotas: ResourceQuotas,
pub isolation_mechanisms: Vec<IsolationMechanism>,
pub security_domains: HashMap<u64, SecurityDomain>,
pub virtual_quantum_machines: HashMap<u64, VirtualQuantumMachine>,
pub containment_policies: Vec<ContainmentPolicy>,
}
Expand description
Quantum Sandbox for process isolation
Fields§
§sandbox_id: u64
§isolated_processes: HashMap<u64, IsolatedQuantumProcess>
§resource_quotas: ResourceQuotas
§isolation_mechanisms: Vec<IsolationMechanism>
§security_domains: HashMap<u64, SecurityDomain>
§virtual_quantum_machines: HashMap<u64, VirtualQuantumMachine>
§containment_policies: Vec<ContainmentPolicy>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuantumSandbox
impl RefUnwindSafe for QuantumSandbox
impl Send for QuantumSandbox
impl Sync for QuantumSandbox
impl Unpin for QuantumSandbox
impl UnwindSafe for QuantumSandbox
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more