Struct debugserver_types::Module [] [src]

pub struct Module {
    pub address_range: Option<String>,
    pub date_time_stamp: Option<String>,
    pub id: Value,
    pub is_optimized: Option<bool>,
    pub is_user_code: Option<bool>,
    pub name: String,
    pub path: Option<String>,
    pub symbol_file_path: Option<String>,
    pub symbol_status: Option<String>,
    pub version: Option<String>,
}

A Module object represents a row in the modules view. Two attributes are mandatory: an id identifies a module in the modules view and is used in a ModuleEvent for identifying a module for adding, updating or deleting. The name is used to minimally render the module in the UI.

Additional attributes can be added to the module. They will show up in the module View if they have a corresponding ColumnDescriptor.

To avoid an unnecessary proliferation of additional attributes with similar semantics but different names we recommend to re-use attributes from the 'recommended' list below first, and only introduce new attributes if nothing appropriate could be found.

Fields

Address range covered by this module.

Module created or modified.

Unique identifier for the module.

True if the module is optimized.

True if the module is considered 'user code' by a debugger that supports 'Just My Code'.

A name of the module.

optional but recommended attributes. always try to use these first before introducing additional attributes.

Logical full path to the module. The exact definition is implementation defined, but usually this would be a full path to the on-disk file for the module.

Logical full path to the symbol file. The exact definition is implementation defined.

User understandable description of if symbols were found for the module (ex: 'Symbols Loaded', 'Symbols not found', etc.

Version of Module.

Trait Implementations

impl Clone for Module
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Module
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Module
[src]

Formats the value using the given formatter.