Skip to main content

vlib_process_t

Struct vlib_process_t 

Source
#[repr(C, align(64))]
pub struct vlib_process_t {
Show 20 fields pub cacheline0: __IncompleteArrayField<u8_>, pub node_runtime: vlib_node_runtime_t, pub return_longjmp: clib_longjmp_t, pub resume_longjmp: clib_longjmp_t, pub state: vlib_process_state_t, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub log2_n_stack_bytes: u16_, pub suspended_process_frame_index: u32_, pub n_suspends: u32_, pub pending_event_data_by_type_index: *mut *mut u8_, pub non_empty_event_type_bitmap: *mut uword, pub one_time_event_type_bitmap: *mut uword, pub event_type_index_by_type_opaque: *mut uword, pub event_type_pool: *mut vlib_process_event_type_t, pub resume_clock_interval: u64_, pub stop_timer_handle: u32_, pub output_function: vlib_cli_output_function_t, pub output_function_arg: uword, pub stack: *mut u32_,
}

Fields§

§cacheline0: __IncompleteArrayField<u8_>§node_runtime: vlib_node_runtime_t§return_longjmp: clib_longjmp_t§resume_longjmp: clib_longjmp_t§state: vlib_process_state_t§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§log2_n_stack_bytes: u16_§suspended_process_frame_index: u32_§n_suspends: u32_§pending_event_data_by_type_index: *mut *mut u8_§non_empty_event_type_bitmap: *mut uword§one_time_event_type_bitmap: *mut uword§event_type_index_by_type_opaque: *mut uword§event_type_pool: *mut vlib_process_event_type_t§resume_clock_interval: u64_§stop_timer_handle: u32_§output_function: vlib_cli_output_function_t§output_function_arg: uword§stack: *mut u32_

Implementations§

Source§

impl vlib_process_t

Source

pub fn event_resume_pending(&self) -> u8_

Source

pub fn set_event_resume_pending(&mut self, val: u8_)

Source

pub unsafe fn event_resume_pending_raw(this: *const Self) -> u8_

Source

pub unsafe fn set_event_resume_pending_raw(this: *mut Self, val: u8_)

Source

pub fn new_bitfield_1( event_resume_pending: u8_, ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

Source§

impl Debug for vlib_process_t

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for vlib_process_t

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.