pub struct ExceptionSyndrome {
pub raw: u64,
pub class: u64,
pub iss: u64,
}Available on crate feature
uspace only.Expand description
Architecture-neutral syndrome fields for user-space exceptions.
The meaning of each field remains architecture-specific, but this shape gives OS code a single way to log or forward the raw trap details without reaching into every architecture’s private register type.
Fields§
§raw: u64Raw syndrome/status register value when the architecture exposes one.
class: u64Primary exception class or code.
iss: u64Architecture-specific instruction syndrome or subcode.
Trait Implementations§
Source§impl Clone for ExceptionSyndrome
impl Clone for ExceptionSyndrome
Source§fn clone(&self) -> ExceptionSyndrome
fn clone(&self) -> ExceptionSyndrome
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 ExceptionSyndrome
Source§impl Debug for ExceptionSyndrome
impl Debug for ExceptionSyndrome
Source§impl Default for ExceptionSyndrome
impl Default for ExceptionSyndrome
Source§fn default() -> ExceptionSyndrome
fn default() -> ExceptionSyndrome
Returns the “default value” for a type. Read more
impl Eq for ExceptionSyndrome
Source§impl PartialEq for ExceptionSyndrome
impl PartialEq for ExceptionSyndrome
impl StructuralPartialEq for ExceptionSyndrome
Auto Trait Implementations§
impl Freeze for ExceptionSyndrome
impl RefUnwindSafe for ExceptionSyndrome
impl Send for ExceptionSyndrome
impl Sync for ExceptionSyndrome
impl Unpin for ExceptionSyndrome
impl UnsafeUnpin for ExceptionSyndrome
impl UnwindSafe for ExceptionSyndrome
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