pub enum LoaderHost {
None,
Linux,
Macos,
}Expand description
Which loader embedded in an APE image a host can run.
Variants§
None
No embedded loader is used (Windows runs APE natively).
Linux
The static ELF loader from the prologue’s Linux branch.
Macos
The x86_64 Mach-O loader, or the Apple Silicon loader compiled from
the image’s ape-m1.c with the host cc.
Trait Implementations§
Source§impl Clone for LoaderHost
impl Clone for LoaderHost
impl Copy for LoaderHost
Source§impl Debug for LoaderHost
impl Debug for LoaderHost
impl Eq for LoaderHost
Source§impl PartialEq for LoaderHost
impl PartialEq for LoaderHost
impl StructuralPartialEq for LoaderHost
Auto Trait Implementations§
impl Freeze for LoaderHost
impl RefUnwindSafe for LoaderHost
impl Send for LoaderHost
impl Sync for LoaderHost
impl Unpin for LoaderHost
impl UnsafeUnpin for LoaderHost
impl UnwindSafe for LoaderHost
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more