[][src]Struct kdump::DebugSection

pub struct DebugSection { /* fields omitted */ }

Implementations

impl DebugSection[src]

pub fn new(
    range_size: u8,
    max_line_number: u16,
    debug_entries: Vec<DebugEntry>
) -> DebugSection
[src]

pub fn read(reader: &mut KSMFileReader) -> Result<DebugSection, Box<dyn Error>>[src]

pub fn find(&self, addr: u32) -> Option<(&DebugEntry, (u32, u32))>[src]

pub fn get_range_bytes(&self) -> u8[src]

pub fn get_debug_entries(&self) -> &Vec<DebugEntry>[src]

pub fn get_max_line_number(&self) -> u16[src]

pub fn dump(&self) -> Result<(), Box<dyn Error>>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.