pub enum RingKernelIntrinsic {
Show 17 variants
IsActive,
ShouldTerminate,
MarkTerminated,
GetMessagesProcessed,
InputQueueSize,
OutputQueueSize,
InputQueueEmpty,
OutputQueueEmpty,
EnqueueResponse,
HlcTick,
HlcUpdate,
HlcNow,
K2kSend,
K2kTryRecv,
K2kHasMessage,
K2kPeek,
K2kPendingCount,
}Expand description
Intrinsic functions available in ring kernel handlers.
Variants§
IsActive
ShouldTerminate
MarkTerminated
GetMessagesProcessed
InputQueueSize
OutputQueueSize
InputQueueEmpty
OutputQueueEmpty
EnqueueResponse
HlcTick
HlcUpdate
HlcNow
K2kSend
K2kTryRecv
K2kHasMessage
K2kPeek
K2kPendingCount
Implementations§
Source§impl RingKernelIntrinsic
impl RingKernelIntrinsic
Sourcepub fn requires_k2k(&self) -> bool
pub fn requires_k2k(&self) -> bool
Check if this intrinsic requires K2K support.
Sourcepub fn requires_hlc(&self) -> bool
pub fn requires_hlc(&self) -> bool
Check if this intrinsic requires HLC support.
Sourcepub fn requires_control_block(&self) -> bool
pub fn requires_control_block(&self) -> bool
Check if this intrinsic requires control block access.
Trait Implementations§
Source§impl Clone for RingKernelIntrinsic
impl Clone for RingKernelIntrinsic
Source§fn clone(&self) -> RingKernelIntrinsic
fn clone(&self) -> RingKernelIntrinsic
Returns a duplicate 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 RingKernelIntrinsic
impl Debug for RingKernelIntrinsic
Source§impl PartialEq for RingKernelIntrinsic
impl PartialEq for RingKernelIntrinsic
impl Copy for RingKernelIntrinsic
impl Eq for RingKernelIntrinsic
impl StructuralPartialEq for RingKernelIntrinsic
Auto Trait Implementations§
impl Freeze for RingKernelIntrinsic
impl RefUnwindSafe for RingKernelIntrinsic
impl Send for RingKernelIntrinsic
impl Sync for RingKernelIntrinsic
impl Unpin for RingKernelIntrinsic
impl UnwindSafe for RingKernelIntrinsic
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