pub enum VmBackendError {
InvalidInput,
InvalidData,
InvalidState,
Unsupported,
OutOfMemory,
ResourceBusy,
}Expand description
Failures reported by an architecture virtualization backend.
Variants§
InvalidInput
The backend rejected a caller-provided value.
InvalidData
The backend received malformed or inconsistent architecture data.
InvalidState
The backend state does not permit the requested operation.
Unsupported
The backend does not implement the requested operation.
OutOfMemory
The backend could not allocate the required memory.
ResourceBusy
A backend resource is already owned or in use.
Trait Implementations§
Source§impl Clone for VmBackendError
impl Clone for VmBackendError
Source§fn clone(&self) -> VmBackendError
fn clone(&self) -> VmBackendError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VmBackendError
Source§impl Debug for VmBackendError
impl Debug for VmBackendError
Source§impl Display for VmBackendError
impl Display for VmBackendError
impl Eq for VmBackendError
Source§impl Error for VmBackendError
impl Error for VmBackendError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for VmBackendError
impl PartialEq for VmBackendError
impl StructuralPartialEq for VmBackendError
Auto Trait Implementations§
impl Freeze for VmBackendError
impl RefUnwindSafe for VmBackendError
impl Send for VmBackendError
impl Sync for VmBackendError
impl Unpin for VmBackendError
impl UnsafeUnpin for VmBackendError
impl UnwindSafe for VmBackendError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more