pub enum GrantStatusError {
Show 13 variants GeneralError, BadDomain, BadGntRef, BadHandle, BadVirtAddr, BadDevAddr, NoDeviceSpace, PermissionDenied, BadPage, BadCopyArg, AddressTooBig, Eagain, NoSpace,
}
Expand description

Errors returned in the status field of grant table operation argument structs

Variants

GeneralError

General undefined error

BadDomain

Unrecognsed domain id

BadGntRef

Unrecognised or inappropriate gntref

BadHandle

Unrecognised or inappropriate handle

BadVirtAddr

Inappropriate virtual address to map

BadDevAddr

Inappropriate device address to unmap

NoDeviceSpace

Out of space in I/O MMU

PermissionDenied

Not enough privilege for operation

BadPage

Specified page was invalid for op

BadCopyArg

copy arguments cross page boundary

AddressTooBig

transfer page address too large

Eagain

Operation not done; try again

NoSpace

Out of space

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.