pub enum ResumeError {
NotInterrupted,
ResultRequired {
size: usize,
},
}Expand description
Why Vm::resume refused.
Variants§
NotInterrupted
The machine is not stopped at an interrupt.
ResultRequired
The operation declares a result of this many bytes and none was given.
Trait Implementations§
Source§impl Clone for ResumeError
impl Clone for ResumeError
Source§fn clone(&self) -> ResumeError
fn clone(&self) -> ResumeError
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 moreSource§impl Debug for ResumeError
impl Debug for ResumeError
Source§impl Display for ResumeError
impl Display for ResumeError
impl Eq for ResumeError
Source§impl Error for ResumeError
impl Error for ResumeError
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 ResumeError
impl PartialEq for ResumeError
impl StructuralPartialEq for ResumeError
Auto Trait Implementations§
impl Freeze for ResumeError
impl RefUnwindSafe for ResumeError
impl Send for ResumeError
impl Sync for ResumeError
impl Unpin for ResumeError
impl UnsafeUnpin for ResumeError
impl UnwindSafe for ResumeError
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