[−][src]Struct punt::bootloader_info::BootloaderInfo
Suppository information read back from the bootloader.
Fields
build_number: u32
Build number of the bootloader.
build_date: String
Build date of the bootloader, formatted as an ISO 8601 date (YYYY-MM-DD
).
application_base: u32
Start address of the application flash.
application_size: usize
Size of the flash available for the application (in bytes).
version: Version
Bootloader firmware version.
identifier: String
Identifier string, usually containing the MCU MPN.
Methods
impl BootloaderInfo
[src]
pub fn application_pages(&self) -> RangeInclusive<Page>
[src]
Returns a range containing all application pages
Trait Implementations
impl Debug for BootloaderInfo
[src]
impl Display for BootloaderInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for BootloaderInfo
impl Send for BootloaderInfo
impl Sync for BootloaderInfo
impl Unpin for BootloaderInfo
impl UnwindSafe for BootloaderInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,