Enum kernel::syscall::SyscallClass
source · #[repr(u8)]pub enum SyscallClass {
Yield = 0,
Subscribe = 1,
Command = 2,
ReadWriteAllow = 3,
ReadOnlyAllow = 4,
Memop = 5,
Exit = 6,
UserspaceReadableAllow = 7,
}
Expand description
Enumeration of the system call classes based on the identifiers specified in the Tock ABI.
These are encoded as 8 bit values as on some architectures the value can be encoded in the instruction itself.
Variants§
Yield = 0
Subscribe = 1
Command = 2
ReadWriteAllow = 3
ReadOnlyAllow = 4
Memop = 5
Exit = 6
UserspaceReadableAllow = 7
Trait Implementations§
source§impl Clone for SyscallClass
impl Clone for SyscallClass
source§fn clone(&self) -> SyscallClass
fn clone(&self) -> SyscallClass
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 SyscallClass
impl Debug for SyscallClass
source§impl TryFrom<u8> for SyscallClass
impl TryFrom<u8> for SyscallClass
impl Copy for SyscallClass
Auto Trait Implementations§
impl Freeze for SyscallClass
impl RefUnwindSafe for SyscallClass
impl Send for SyscallClass
impl Sync for SyscallClass
impl Unpin for SyscallClass
impl UnwindSafe for SyscallClass
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)