pub enum RingKernelParamKind {
ControlBlock,
InputBuffer,
OutputBuffer,
SharedState,
K2KRoutes,
RingContext,
Regular,
}Expand description
Known ring kernel parameter types.
Variants§
ControlBlock
ControlBlock pointer.
InputBuffer
Input message buffer.
OutputBuffer
Output response buffer.
Shared state pointer.
K2KRoutes
K2K routing table.
RingContext
RingContext (marker, removed in transpilation).
Regular
Regular parameter.
Implementations§
Source§impl RingKernelParamKind
impl RingKernelParamKind
Sourcepub fn from_param(name: &str, ty: &Type) -> Self
pub fn from_param(name: &str, ty: &Type) -> Self
Detect the parameter kind from type and name.
Trait Implementations§
Source§impl Clone for RingKernelParamKind
impl Clone for RingKernelParamKind
Source§fn clone(&self) -> RingKernelParamKind
fn clone(&self) -> RingKernelParamKind
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 RingKernelParamKind
impl Debug for RingKernelParamKind
Source§impl PartialEq for RingKernelParamKind
impl PartialEq for RingKernelParamKind
impl Copy for RingKernelParamKind
impl Eq for RingKernelParamKind
impl StructuralPartialEq for RingKernelParamKind
Auto Trait Implementations§
impl Freeze for RingKernelParamKind
impl RefUnwindSafe for RingKernelParamKind
impl Send for RingKernelParamKind
impl Sync for RingKernelParamKind
impl Unpin for RingKernelParamKind
impl UnwindSafe for RingKernelParamKind
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