pub enum BackingTarget {
Anon,
File(PathBuf),
Shm(String),
}Expand description
Locale target for a capacity wrapper’s backings. Public mirror
of the construction-time locale choice, used by
RingConfig to retarget the locale as part of a compound
morph: subsequent backings (and prewarms) allocate at the new
locale.
Variants§
Anon
In-process anonymous mmap backings.
File(PathBuf)
File-backed; per-morph file at {base}.cap_{N}_g{seq}.bin.
Shm(String)
Named-shm backings at {prefix}_cap_{N}_g{seq}.
Trait Implementations§
Source§impl Clone for BackingTarget
impl Clone for BackingTarget
Source§fn clone(&self) -> BackingTarget
fn clone(&self) -> BackingTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackingTarget
impl Debug for BackingTarget
impl Eq for BackingTarget
Source§impl PartialEq for BackingTarget
impl PartialEq for BackingTarget
impl StructuralPartialEq for BackingTarget
Auto Trait Implementations§
impl Freeze for BackingTarget
impl RefUnwindSafe for BackingTarget
impl Send for BackingTarget
impl Sync for BackingTarget
impl Unpin for BackingTarget
impl UnsafeUnpin for BackingTarget
impl UnwindSafe for BackingTarget
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