Skip to main content

Evictor_StateLayout

Struct Evictor_StateLayout 

Source
#[repr(C)]
pub struct Evictor_StateLayout {
Show 14 fields pub eviction_target: Evictor_EvictionTarget, pub eviction_lock: __BindgenOpaqueArray8<[u8; 24]>, pub total_evicted: Evictor_EvictedPageCounts, pub lock: u32, pub __bindgen_padding_0: [u8; 4], pub eviction_thread: *mut Thread, pub eviction_thread_exiting: u8, pub __bindgen_padding_1: [u8; 7], pub eviction_signal: AutounsignalEvent, pub test_reclaim_function: __BindgenOpaqueArray8<[u8; 48]>, pub test_free_pages_function: __BindgenOpaqueArray8<[u8; 48]>, pub eviction_enabled: bool, pub use_compression: bool, pub __bindgen_padding_2: [u8; 6],
}

Fields§

§eviction_target: Evictor_EvictionTarget§eviction_lock: __BindgenOpaqueArray8<[u8; 24]>§total_evicted: Evictor_EvictedPageCounts§lock: u32§__bindgen_padding_0: [u8; 4]§eviction_thread: *mut Thread§eviction_thread_exiting: u8§__bindgen_padding_1: [u8; 7]§eviction_signal: AutounsignalEvent§test_reclaim_function: __BindgenOpaqueArray8<[u8; 48]>§test_free_pages_function: __BindgenOpaqueArray8<[u8; 48]>§eviction_enabled: bool§use_compression: bool§__bindgen_padding_2: [u8; 6]

Auto Trait Implementations§

§

impl !Send for Evictor_StateLayout

§

impl !Sync for Evictor_StateLayout

§

impl Freeze for Evictor_StateLayout

§

impl RefUnwindSafe for Evictor_StateLayout

§

impl Unpin for Evictor_StateLayout

§

impl UnsafeUnpin for Evictor_StateLayout

§

impl UnwindSafe for Evictor_StateLayout

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
§

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

§

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

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

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

Performs the conversion.