pub struct StatusCreateRecord {
pub module_id: Option<u32>,
pub filename: String,
}
Expand description
Hold a status creation record as stored in the special ELF section of an executable.
Fields§
§module_id: Option<u32>
§filename: String
Implementations§
Source§impl StatusCreateRecord
impl StatusCreateRecord
Sourcepub fn get_module_id(&self) -> Result<String>
pub fn get_module_id(&self) -> Result<String>
Compute the Module ID actually created by status_create on device, that is either the module_id or comes from the filename.
Trait Implementations§
Source§impl Debug for StatusCreateRecord
impl Debug for StatusCreateRecord
Source§impl<'de> Deserialize<'de> for StatusCreateRecord
impl<'de> Deserialize<'de> for StatusCreateRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StatusCreateRecord
impl Serialize for StatusCreateRecord
Auto Trait Implementations§
impl Freeze for StatusCreateRecord
impl RefUnwindSafe for StatusCreateRecord
impl Send for StatusCreateRecord
impl Sync for StatusCreateRecord
impl Unpin for StatusCreateRecord
impl UnwindSafe for StatusCreateRecord
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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