#[non_exhaustive]pub struct MemBackend {
pub backend_type: MemBackendType,
pub backend_path_file: Option<SafePath>,
pub backend_path_uds: Option<UdsPath>,
}Expand description
Validated mem_backend.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.backend_type: MemBackendTypeBackend kind.
backend_path_file: Option<SafePath>Validated backend path. The cap depends on the backend type — UDS for Uffd,
regular file path for File.
backend_path_uds: Option<UdsPath>UDS path when backend_type is Uffd.
Trait Implementations§
Source§impl Clone for MemBackend
impl Clone for MemBackend
Source§fn clone(&self) -> MemBackend
fn clone(&self) -> MemBackend
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 MemBackend
impl Debug for MemBackend
Source§impl Serialize for MemBackend
impl Serialize for MemBackend
Source§impl TryFrom<RawMemBackend> for MemBackend
impl TryFrom<RawMemBackend> for MemBackend
Auto Trait Implementations§
impl Freeze for MemBackend
impl RefUnwindSafe for MemBackend
impl Send for MemBackend
impl Sync for MemBackend
impl Unpin for MemBackend
impl UnsafeUnpin for MemBackend
impl UnwindSafe for MemBackend
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