[−][src]Enum dpdk_unix::memory_information::MemoryInformationParseError
Errors possible when parsing memory statistics.
Variants
CouldNotOpenFile(Error)Could not open a file of memory statistics.
CouldNotParseMemoryInformationValueCould not parse a memory statistic.
Fields of CouldNotParseMemoryInformationValue
zero_based_line_number: usizeZero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationNameMemory item it occurred for.
CouldNotParseAsUtf8Could not parse a memory statistic as a UTF-8 string.
Fields of CouldNotParseAsUtf8
CouldNotParseMemoryInformationValueTrimmedCould not parse a memory statistic (trimmed).
Fields of CouldNotParseMemoryInformationValueTrimmed
zero_based_line_number: usizeZero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationNameMemory item it occurred for.
bad_value: StringBad value.
CouldNotParseMemoryInformationValueAsU64Could not parse a memory statistic as a u64 value.
Fields of CouldNotParseMemoryInformationValueAsU64
zero_based_line_number: usizeZero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationNameMemory item it occurred for.
bad_value: StringBad value.
cause: ParseIntErrorUnderlying parse error.
DuplicateMemoryInformationCould not parse a memory statistic because it was a duplicate.
Fields of DuplicateMemoryInformation
zero_based_line_number: usizeZero-based line number in the file the error occurred at.
memory_information_name: MemoryInformationNameMemory item it occurred for.
new_value: u64New value.
Trait Implementations
impl From<Error> for MemoryInformationParseError[src]
impl From<Error> for MemoryInformationParseErrorimpl Display for MemoryInformationParseError[src]
impl Display for MemoryInformationParseErrorimpl Debug for MemoryInformationParseError[src]
impl Debug for MemoryInformationParseErrorimpl Error for MemoryInformationParseError[src]
impl Error for MemoryInformationParseErrorfn 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 MemoryInformationParseErrorimpl Sync for MemoryInformationParseError
impl Sync for MemoryInformationParseErrorBlanket Implementations
impl<T> ToString for T where
T: Display + ?Sized, [src]
impl<T> ToString for T where
T: Display + ?Sized, impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, 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, 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> 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> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |