pub enum BootstrapMethod {
MemfdCreate,
TempFile,
DevShm,
Python,
Shell,
}Expand description
Available bootstrap methods
Variants§
MemfdCreate
Use memfd_create syscall (Linux only)
TempFile
Use temporary file in /tmp
DevShm
Use temporary file in /dev/shm
Python
Use Python for in-memory execution
Shell
Use shell script execution
Trait Implementations§
Source§impl Clone for BootstrapMethod
impl Clone for BootstrapMethod
Source§fn clone(&self) -> BootstrapMethod
fn clone(&self) -> BootstrapMethod
Returns a duplicate of the value. Read more
1.0.0 · 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 BootstrapMethod
impl Debug for BootstrapMethod
Source§impl PartialEq for BootstrapMethod
impl PartialEq for BootstrapMethod
impl Eq for BootstrapMethod
impl StructuralPartialEq for BootstrapMethod
Auto Trait Implementations§
impl Freeze for BootstrapMethod
impl RefUnwindSafe for BootstrapMethod
impl Send for BootstrapMethod
impl Sync for BootstrapMethod
impl Unpin for BootstrapMethod
impl UnwindSafe for BootstrapMethod
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