pub struct ExecutableFileInfoDisplay<'a> {
pub file_path: &'a str,
pub file_type: &'a str,
pub entry_point: Option<u64>,
pub has_symbols: bool,
pub has_debug_info: bool,
pub debug_file_path: &'a Option<String>,
pub text_section: &'a Option<SectionInfo>,
pub data_section: &'a Option<SectionInfo>,
pub mode_description: &'a str,
}Expand description
Parameter struct for format_executable_file_info to avoid too many function arguments
Fields§
§file_path: &'a str§file_type: &'a str§entry_point: Option<u64>§has_symbols: bool§has_debug_info: bool§debug_file_path: &'a Option<String>§text_section: &'a Option<SectionInfo>§data_section: &'a Option<SectionInfo>§mode_description: &'a strAuto Trait Implementations§
impl<'a> Freeze for ExecutableFileInfoDisplay<'a>
impl<'a> RefUnwindSafe for ExecutableFileInfoDisplay<'a>
impl<'a> Send for ExecutableFileInfoDisplay<'a>
impl<'a> Sync for ExecutableFileInfoDisplay<'a>
impl<'a> Unpin for ExecutableFileInfoDisplay<'a>
impl<'a> UnwindSafe for ExecutableFileInfoDisplay<'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
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