pub enum GuardPolicy {
BestEffort,
Require,
Disable,
}Expand description
Requested guard-band behavior around an endpoint’s own active view mapping.
Guard bands are inaccessible address ranges installed immediately before and after each endpoint’s own active view mapping when a committed batch maps its views. They contain in-process linear overruns past a view. They do not constrain the peer’s own address space, and they do not constrain aliases created by a hostile holder of delegated native capability.
The creating endpoint honors the policy requested for the region. The receiving endpoint always applies best-effort installation, because the wire manifest does not carry the policy.
Variants§
BestEffort
Install guard bands where reliable placement is available and report the outcome honestly instead of failing.
Require
Fail batch preparation or commit on the creating endpoint unless its own view mappings receive guard bands.
Disable
Do not request guard bands on the creating endpoint.
Trait Implementations§
Source§impl Clone for GuardPolicy
impl Clone for GuardPolicy
Source§fn clone(&self) -> GuardPolicy
fn clone(&self) -> GuardPolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more