pub enum MSRError {
OpenForRead {
core_id: LogicalCoreId,
io_error: Error,
},
OpenForWrite {
core_id: LogicalCoreId,
io_error: Error,
},
ReadWNoErr {
register_id: u32,
core_id: LogicalCoreId,
errno: Errno,
},
WriteWNoErr {
value: u64,
register_id: u32,
core_id: LogicalCoreId,
errno: Errno,
},
}Variants§
Trait Implementations§
Source§impl Error for MSRError
impl Error for MSRError
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()
Auto Trait Implementations§
impl Freeze for MSRError
impl !RefUnwindSafe for MSRError
impl Send for MSRError
impl Sync for MSRError
impl Unpin for MSRError
impl !UnwindSafe for MSRError
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