Enum bern_kernel::syscall::Service
source · [−]#[repr(u8)]
pub enum Service {
Show 16 variants
TaskSpawn,
TaskSleep,
TaskYield,
TaskExit,
EventRegister,
EventAwait,
EventFire,
Alloc,
Dealloc,
KernelStats,
CoreDebugTime,
TickCount,
IpcChannelRegister,
IpcChannelSend,
IpcSemaphoreRegister,
IpcSemaphoreTryAcquire,
}
Variants
TaskSpawn
TaskSleep
TaskYield
TaskExit
EventRegister
EventAwait
EventFire
Alloc
Dealloc
KernelStats
CoreDebugTime
TickCount
IpcChannelRegister
IpcChannelSend
IpcSemaphoreRegister
IpcSemaphoreTryAcquire
Implementations
sourceimpl Service
impl Service
sourcepub const fn service_id(self) -> u8
pub const fn service_id(self) -> u8
Get syscall service id
Auto Trait Implementations
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more