pub enum GuestMsrError {
CapacityExceeded {
maximum: usize,
},
}Expand description
Errors returned when declaring guest MSRs.
Variants§
CapacityExceeded
The declared MSR set exceeds its fixed capacity.
Trait Implementations§
Source§impl Clone for GuestMsrError
impl Clone for GuestMsrError
Source§fn clone(&self) -> GuestMsrError
fn clone(&self) -> GuestMsrError
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 GuestMsrError
Source§impl Debug for GuestMsrError
impl Debug for GuestMsrError
Source§impl Display for GuestMsrError
impl Display for GuestMsrError
impl Eq for GuestMsrError
Source§impl Error for GuestMsrError
impl Error for GuestMsrError
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 GuestMsrError
impl PartialEq for GuestMsrError
impl StructuralPartialEq for GuestMsrError
Auto Trait Implementations§
impl Freeze for GuestMsrError
impl RefUnwindSafe for GuestMsrError
impl Send for GuestMsrError
impl Sync for GuestMsrError
impl Unpin for GuestMsrError
impl UnsafeUnpin for GuestMsrError
impl UnwindSafe for GuestMsrError
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