pub struct BinaryFileInfo {
pub export_mode: BinaryExportMode,
pub total_count: u32,
pub user_count: u16,
pub system_count: u16,
pub version: u32,
pub is_count_consistent: bool,
pub file_size: u64,
}
Expand description
Binary file type information
Fields§
§export_mode: BinaryExportMode
Export mode (user-only vs full)
total_count: u32
Total allocation count
user_count: u16
User allocation count (var_name.is_some())
system_count: u16
System allocation count (var_name.is_none())
version: u32
Binary format version
is_count_consistent: bool
Whether counts are consistent
file_size: u64
File size in bytes
Implementations§
Source§impl BinaryFileInfo
impl BinaryFileInfo
Sourcepub fn is_user_only(&self) -> bool
pub fn is_user_only(&self) -> bool
Check if this is a user-only binary
Sourcepub fn is_full_binary(&self) -> bool
pub fn is_full_binary(&self) -> bool
Check if this is a full binary
Sourcepub fn type_description(&self) -> String
pub fn type_description(&self) -> String
Get a human-readable description of the binary type
Sourcepub fn recommended_strategy(&self) -> &'static str
pub fn recommended_strategy(&self) -> &'static str
Get recommended processing strategy
Trait Implementations§
Source§impl Clone for BinaryFileInfo
impl Clone for BinaryFileInfo
Source§fn clone(&self) -> BinaryFileInfo
fn clone(&self) -> BinaryFileInfo
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 BinaryFileInfo
impl Debug for BinaryFileInfo
Source§impl PartialEq for BinaryFileInfo
impl PartialEq for BinaryFileInfo
impl StructuralPartialEq for BinaryFileInfo
Auto Trait Implementations§
impl Freeze for BinaryFileInfo
impl RefUnwindSafe for BinaryFileInfo
impl Send for BinaryFileInfo
impl Sync for BinaryFileInfo
impl Unpin for BinaryFileInfo
impl UnwindSafe for BinaryFileInfo
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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