[−][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 Debug for MemoryInformationParseError
[src]
impl Display for MemoryInformationParseError
[src]
impl Error for MemoryInformationParseError
[src]
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 Sync for MemoryInformationParseError
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
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]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
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]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,