Enum wasmtime_runtime::MemFdSlot
source · [−]pub enum MemFdSlot {}Expand description
A placeholder for MemFdSlot when we have not included the pooling allocator.
To allow MemFdSlot to be unconditionally passed around in various
places (e.g. a Memory), we define a zero-sized type when memfd is
not included in the build.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MemFdSlot
impl Send for MemFdSlot
impl Sync for MemFdSlot
impl Unpin for MemFdSlot
impl UnwindSafe for MemFdSlot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more