Struct epoll_params

#[repr(C)]
pub struct epoll_params { pub busy_poll_usecs: u32, pub busy_poll_budget: u16, pub prefer_busy_poll: u8, pub __pad: u8 }

Fields

busy_poll_usecs: u32
busy_poll_budget: u16
prefer_busy_poll: u8
__pad: u8

Trait Implementations

impl Clone for epoll_params

fn clone(&self) -> epoll_params

impl Copy for epoll_params

impl Debug for epoll_params

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

impl Eq for epoll_params

impl Hash for epoll_params

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for epoll_params

fn eq(&self, other: &epoll_params) -> bool

impl StructuralPartialEq for epoll_params

Auto Trait Implementations

impl Freeze for epoll_params

impl RefUnwindSafe for epoll_params

impl Send for epoll_params

impl Sync for epoll_params

impl Unpin for epoll_params

impl UnsafeUnpin for epoll_params

impl UnwindSafe for epoll_params

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> CloneToUninit for epoll_params where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for epoll_params

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for epoll_params 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 epoll_params where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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