Enum object::read::ObjectKind
source · #[non_exhaustive]
pub enum ObjectKind {
Unknown,
Relocatable,
Executable,
Dynamic,
Core,
}
Expand description
An object kind.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
The object kind is unknown.
Relocatable
Relocatable object.
Executable
Executable.
Dynamic
Dynamic shared object.
Core
Core.
Trait Implementations§
source§impl Clone for ObjectKind
impl Clone for ObjectKind
source§fn clone(&self) -> ObjectKind
fn clone(&self) -> ObjectKind
Returns a copy 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 more