[−][src]Enum dpdk_unix::memory_information::MemoryInformationParseError
Errors possible when parsing memory statistics.
Variants
CouldNotOpenFile(Error)
Could not open a file of memory statistics.
CouldNotParseMemoryInformationValue
Could not parse a memory statistic.
Fields of CouldNotParseMemoryInformationValue
zero_based_line_number: usize
Zero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationName
Memory item it occurred for.
CouldNotParseAsUtf8
Could not parse a memory statistic as a UTF-8 string.
Fields of CouldNotParseAsUtf8
CouldNotParseMemoryInformationValueTrimmed
Could not parse a memory statistic (trimmed).
Fields of CouldNotParseMemoryInformationValueTrimmed
zero_based_line_number: usize
Zero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationName
Memory item it occurred for.
bad_value: String
Bad value.
CouldNotParseMemoryInformationValueAsU64
Could not parse a memory statistic as a u64 value.
Fields of CouldNotParseMemoryInformationValueAsU64
zero_based_line_number: usize
Zero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationName
Memory item it occurred for.
bad_value: String
Bad value.
cause: ParseIntError
Underlying parse error.
DuplicateMemoryInformation
Could not parse a memory statistic because it was a duplicate.
Fields of DuplicateMemoryInformation
zero_based_line_number: usize
Zero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationName
Memory item it occurred for.
new_value: u64
New value.
Trait Implementations
impl From<Error> for MemoryInformationParseError
[src]
impl From<Error> for MemoryInformationParseError
impl Debug for MemoryInformationParseError
[src]
impl Debug for MemoryInformationParseError
impl Display for MemoryInformationParseError
[src]
impl Display for MemoryInformationParseError
impl Error for MemoryInformationParseError
[src]
impl Error for MemoryInformationParseError
fn source(&self) -> Option<&(dyn Error + 'static)> | [src] |
fn description(&self) -> &str | 1.0.0 [src] |
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&dyn Error> | 1.0.0 [src] |
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
Auto Trait Implementations
impl Send for MemoryInformationParseError
impl Send for MemoryInformationParseError
impl Sync for MemoryInformationParseError
impl Sync for MemoryInformationParseError
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |