pub enum AddressSpaceError {
InvalidRegionType,
InvalidAddressRange(u64, GuestUsize),
InvalidMemorySourceType(String),
CreateMemFd(Error),
OpenFile(Error),
CreateDir(Error),
SetFileSize(Error),
UnlinkFile(Error),
}
Expand description
Errors associated with virtual machine address space management.
Variants§
InvalidRegionType
Invalid address space region type.
InvalidAddressRange(u64, GuestUsize)
Invalid address range.
InvalidMemorySourceType(String)
Invalid guest memory source type.
CreateMemFd(Error)
Failed to create memfd to map anonymous memory.
OpenFile(Error)
Failed to open memory file.
CreateDir(Error)
Failed to create directory.
SetFileSize(Error)
Failed to set size for memory file.
UnlinkFile(Error)
Failed to unlink memory file.
Trait Implementations§
source§impl Debug for AddressSpaceError
impl Debug for AddressSpaceError
source§impl Display for AddressSpaceError
impl Display for AddressSpaceError
source§impl Error for AddressSpaceError
impl Error for AddressSpaceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()