Enum xen::grant_table::GrantStatusError
source · [−]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
sourceimpl Debug for GrantStatusError
impl Debug for GrantStatusError
sourceimpl Display for GrantStatusError
impl Display for GrantStatusError
sourceimpl From<GrantStatusError> for Error
impl From<GrantStatusError> for Error
sourcefn from(e: GrantStatusError) -> Self
fn from(e: GrantStatusError) -> Self
Converts to this type from the input type.
sourceimpl From<i16> for GrantStatusError
impl From<i16> for GrantStatusError
Auto Trait Implementations
impl RefUnwindSafe for GrantStatusError
impl Send for GrantStatusError
impl Sync for GrantStatusError
impl Unpin for GrantStatusError
impl UnwindSafe for GrantStatusError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more