pub enum Commands<'a> {
Show 29 variants
Generic(Generic<'a>),
BuildVersion(BuildVersion<'a>),
CodeSignature(CodeSignature<'a>),
CodeSignatureDir(CodeSignatureDir<'a>),
DataInCode(DataInCode<'a>),
DyldChainedFixups(DyldChainedFixups<'a>),
DyldEnvironment(DyldEnvironment<'a>),
DyldExportsTrie(DyldExportsTrie<'a>),
DyldInfo(DyldInfo<'a>),
Dylib(Dylib<'a>),
Dylinker(Dylinker<'a>),
DynamicSymbolCommand(DynamicSymbolCommand<'a>),
EncryptionInfo(EncryptionInfo<'a>),
FunctionStarts(FunctionStarts<'a>),
LinkerOptHint(LinkerOptHint<'a>),
Main(Main<'a>),
RPath(RPath<'a>),
Routine(Routine<'a>),
Segment(Segment<'a>),
SegmentSplitInfo(SegmentSplitInfo<'a>),
SourceVersion(SourceVersion<'a>),
SubFramework(SubFramework<'a>),
SubClient(SubClient<'a>),
SymbolCommand(SymbolCommand<'a>),
ThreadCommand(ThreadCommand<'a>),
TwoLevelHints(TwoLevelHints<'a>),
UUID(UUID<'a>),
VersionMin(VersionMin<'a>),
Unknown(Unknown<'a>),
}
Expand description
Enum that wraps all the different Mach-O load commands (LC_xxx
).
Note that all these commands implements the trait: Command
Variants§
Generic(Generic<'a>)
BuildVersion(BuildVersion<'a>)
CodeSignature(CodeSignature<'a>)
CodeSignatureDir(CodeSignatureDir<'a>)
DataInCode(DataInCode<'a>)
DyldChainedFixups(DyldChainedFixups<'a>)
DyldEnvironment(DyldEnvironment<'a>)
DyldExportsTrie(DyldExportsTrie<'a>)
DyldInfo(DyldInfo<'a>)
Dylib(Dylib<'a>)
Dylinker(Dylinker<'a>)
DynamicSymbolCommand(DynamicSymbolCommand<'a>)
EncryptionInfo(EncryptionInfo<'a>)
FunctionStarts(FunctionStarts<'a>)
LinkerOptHint(LinkerOptHint<'a>)
Main(Main<'a>)
RPath(RPath<'a>)
Routine(Routine<'a>)
Segment(Segment<'a>)
SegmentSplitInfo(SegmentSplitInfo<'a>)
SourceVersion(SourceVersion<'a>)
SubFramework(SubFramework<'a>)
SubClient(SubClient<'a>)
SymbolCommand(SymbolCommand<'a>)
ThreadCommand(ThreadCommand<'a>)
TwoLevelHints(TwoLevelHints<'a>)
UUID(UUID<'a>)
VersionMin(VersionMin<'a>)
Unknown(Unknown<'a>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Commands<'a>
impl<'a> !Send for Commands<'a>
impl<'a> !Sync for Commands<'a>
impl<'a> Unpin for Commands<'a>
impl<'a> UnwindSafe for Commands<'a>
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