Enum process_vm_io::ErrorKind[][src]

#[non_exhaustive]pub enum ErrorKind {
    TooManyVMPages,
    Io {
        operation: &'static str,
        error: Arc<Error>,
        process_id: Option<pid_t>,
    },
    IntegerCast(TryFromIntError),
}

Actual storage for an error.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TooManyVMPages

Virtual memory address range contains too many pages.

Io

Some io::Error occurred.

Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.

Fields of Io

operation: &'static str

Name of the I/O operation that generated the error.

error: Arc<Error>

The io::Error that occurred.

process_id: Option<pid_t>

Identifier of the process that was the target of the I/O.

IntegerCast(TryFromIntError)

Casting an integer caused data loss.

Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.

Trait Implementations

impl Clone for ErrorKind[src]

impl Debug for ErrorKind[src]

impl From<ErrorKind> for Error[src]

Convert an ErrorKind into an Error.

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.