Skip to main content

vlib_node_runtime_t

Struct vlib_node_runtime_t 

Source
#[repr(C, align(64))]
pub struct vlib_node_runtime_t<FAM: ?Sized = [u8_; 0]> {
Show 21 fields pub cacheline0: __IncompleteArrayField<u8_>, pub function: vlib_node_function_t, pub errors: *mut vlib_error_t, pub clocks_since_last_overflow: u32_, pub max_clock: u32_, pub max_clock_n: u32_, pub calls_since_last_overflow: u32_, pub vectors_since_last_overflow: u32_, pub next_frame_index: u32_, pub node_index: u32_, pub input_main_loops_per_call: u32_, pub main_loop_count_last_dispatch: u32_, pub main_loop_vector_stats: [u32_; 2], pub flags: u16_, pub state: vlib_node_state_t, pub dispatch_reason: vlib_node_dispatch_reason_t, pub n_next_nodes: u16_, pub cached_next_index: u16_, pub stop_timer_handle_plus_1: u32_, pub runtime_data_pad: __IncompleteArrayField<u8_>, pub runtime_data: FAM,
}

Fields§

§cacheline0: __IncompleteArrayField<u8_>§function: vlib_node_function_t§errors: *mut vlib_error_t§clocks_since_last_overflow: u32_§max_clock: u32_§max_clock_n: u32_§calls_since_last_overflow: u32_§vectors_since_last_overflow: u32_§next_frame_index: u32_§node_index: u32_§input_main_loops_per_call: u32_§main_loop_count_last_dispatch: u32_§main_loop_vector_stats: [u32_; 2]§flags: u16_§state: vlib_node_state_t§dispatch_reason: vlib_node_dispatch_reason_t§n_next_nodes: u16_§cached_next_index: u16_§stop_timer_handle_plus_1: u32_§runtime_data_pad: __IncompleteArrayField<u8_>§runtime_data: FAM

Trait Implementations§

Source§

impl<FAM: Debug + ?Sized> Debug for vlib_node_runtime_t<FAM>

Source§

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

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

impl Default for vlib_node_runtime_t<[u8_; 0]>

Source§

fn default() -> Self

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

Auto Trait Implementations§

§

impl<FAM> Freeze for vlib_node_runtime_t<FAM>
where FAM: Freeze + ?Sized,

§

impl<FAM> RefUnwindSafe for vlib_node_runtime_t<FAM>
where FAM: RefUnwindSafe + ?Sized,

§

impl<FAM = [u8; 0]> !Send for vlib_node_runtime_t<FAM>

§

impl<FAM = [u8; 0]> !Sync for vlib_node_runtime_t<FAM>

§

impl<FAM> Unpin for vlib_node_runtime_t<FAM>
where FAM: Unpin + ?Sized,

§

impl<FAM> UnsafeUnpin for vlib_node_runtime_t<FAM>
where FAM: UnsafeUnpin + ?Sized,

§

impl<FAM> UnwindSafe for vlib_node_runtime_t<FAM>
where FAM: UnwindSafe + ?Sized,

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.