pub struct CanStart {
pub loader: Option<PathBuf>,
pub library_path: Vec<PathBuf>,
}Expand description
How to start a can’s program: through the can’s own ELF loader, with the can’s own libraries, and nothing resolved from the host.
Fields§
§loader: Option<PathBuf>The bundled loader (<root>/lib64/ld-linux-x86-64.so.2); None for a static program.
library_path: Vec<PathBuf>Directories searched for shared libraries, in order.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CanStart
impl Freeze for CanStart
impl Move for CanStart
impl RefUnwindSafe for CanStart
impl Send for CanStart
impl Sync for CanStart
impl Unpin for CanStart
impl UnsafeUnpin for CanStart
impl UnwindSafe for CanStart
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