[][src]Struct kdump::ArgumentSection

pub struct ArgumentSection { /* fields omitted */ }

Represents an argument section in a KSM file

Implementations

impl ArgumentSection[src]

pub fn new(addr_bytes: u8, argument_list: Vec<Argument>) -> ArgumentSection[src]

pub fn get_index(&self, addr: u32) -> Result<usize, Box<dyn Error>>[src]

pub fn get_addr(&self, index: usize) -> Result<u32, Box<dyn Error>>[src]

pub fn get_argument(&self, addr: u32) -> &Argument[src]

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

pub fn get_argument_list(&self) -> &Vec<Argument>[src]

pub fn read(
    reader: &mut KSMFileReader
) -> Result<ArgumentSection, Box<dyn Error>>
[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.