Struct sel4_common::fault::seL4_Fault_t
source · pub struct seL4_Fault_t {
pub words: [usize; 2],
}
Fields§
§words: [usize; 2]
Implementations§
source§impl seL4_Fault_t
impl seL4_Fault_t
pub fn new_null_fault() -> Self
pub fn new_cap_fault(address: usize, in_receive_phase: usize) -> Self
pub fn cap_fault_get_address(&self) -> usize
pub fn cap_fault_set_address(&mut self, new_field: usize)
pub fn cap_fault_get_in_receive_phase(&self) -> usize
pub fn cap_fault_set_in_receive_phase(&mut self, new_field: usize)
pub fn new_unknown_syscall_fault(syscall_number: usize) -> Self
pub fn unknown_syscall_get_syscall_number(&self) -> usize
pub fn unknown_syscall_set_syscall_number(&mut self, new_field: usize)
pub fn new_user_exeception(number: usize, code: usize) -> Self
pub fn user_exeception_get_number(&self) -> usize
pub fn user_exeception_set_number(&mut self, new_field: usize)
pub fn user_exeception_get_code(&self) -> usize
pub fn user_exeception_set_code(&mut self, new_field: usize)
pub fn new_vm_fault( address: usize, fsr: usize, instruction_fault: usize ) -> Self
pub fn vm_fault_get_address(&self) -> usize
pub fn vm_fault_set_address(&mut self, new_field: usize)
pub fn vm_fault_get_fsr(&self) -> usize
pub fn vm_fault_set_fsr(&mut self, new_field: usize)
pub fn vm_fault_get_instruction_fault(&self) -> usize
pub fn vm_fault_set_instruction_fault(&mut self, new_field: usize)
pub fn get_type(&self) -> usize
source§impl seL4_Fault_t
impl seL4_Fault_t
pub fn get_fault_type(&self) -> FaultType
Trait Implementations§
source§impl Clone for seL4_Fault_t
impl Clone for seL4_Fault_t
source§fn clone(&self) -> seL4_Fault_t
fn clone(&self) -> seL4_Fault_t
Returns a copy of the value. Read more
1.0.0 · 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 seL4_Fault_t
impl Debug for seL4_Fault_t
source§impl Default for seL4_Fault_t
impl Default for seL4_Fault_t
source§fn default() -> seL4_Fault_t
fn default() -> seL4_Fault_t
Returns the “default value” for a type. Read more
source§impl PartialEq<seL4_Fault_t> for seL4_Fault_t
impl PartialEq<seL4_Fault_t> for seL4_Fault_t
source§fn eq(&self, other: &seL4_Fault_t) -> bool
fn eq(&self, other: &seL4_Fault_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for seL4_Fault_t
impl Eq for seL4_Fault_t
impl StructuralEq for seL4_Fault_t
impl StructuralPartialEq for seL4_Fault_t
Auto Trait Implementations§
impl RefUnwindSafe for seL4_Fault_t
impl Send for seL4_Fault_t
impl Sync for seL4_Fault_t
impl Unpin for seL4_Fault_t
impl UnwindSafe for seL4_Fault_t
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