[−][src]Struct kdump::ArgumentSection
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) -> Result<&Argument, Box<dyn Error>>
[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]
reader: &mut KSMFileReader
) -> Result<ArgumentSection, Box<dyn Error>>
pub fn dump(&self) -> Result<(), Box<dyn Error>>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArgumentSection
[src]
impl Send for ArgumentSection
[src]
impl Sync for ArgumentSection
[src]
impl Unpin for ArgumentSection
[src]
impl UnwindSafe for ArgumentSection
[src]
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,
pub 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, 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.
pub 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>,