pub enum MemBackendType {
File,
Uffd,
}Expand description
Memory backend type for /snapshot/load.
Variants§
File
Memory file is loaded eagerly from disk.
Uffd
Memory is faulted in via a userfaultfd-style backend (Mach exception ports on
Darwin); backend_path is a UDS the page server connects to.
Trait Implementations§
Source§impl Clone for MemBackendType
impl Clone for MemBackendType
Source§fn clone(&self) -> MemBackendType
fn clone(&self) -> MemBackendType
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 MemBackendType
impl Debug for MemBackendType
Source§impl Default for MemBackendType
impl Default for MemBackendType
Source§fn default() -> MemBackendType
fn default() -> MemBackendType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemBackendType
impl<'de> Deserialize<'de> for MemBackendType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MemBackendType
impl PartialEq for MemBackendType
Source§fn eq(&self, other: &MemBackendType) -> bool
fn eq(&self, other: &MemBackendType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemBackendType
impl Serialize for MemBackendType
impl Copy for MemBackendType
impl Eq for MemBackendType
impl StructuralPartialEq for MemBackendType
Auto Trait Implementations§
impl Freeze for MemBackendType
impl RefUnwindSafe for MemBackendType
impl Send for MemBackendType
impl Sync for MemBackendType
impl Unpin for MemBackendType
impl UnsafeUnpin for MemBackendType
impl UnwindSafe for MemBackendType
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