[][src]Struct queen::poll::Events

pub struct Events {
    pub events: Vec<pollfd>,
}

Fields

events: Vec<pollfd>

Methods

impl Events[src]

pub fn new() -> Events[src]

pub fn with_capacity(u: usize) -> Events[src]

pub fn len(&self) -> usize[src]

pub fn put(&mut self, fd: RawFd, interest: Ready)[src]

pub fn clear(&mut self)[src]

pub fn get(&self, idx: usize) -> Option<Event>[src]

pub fn iter(&self) -> Iter[src]

Trait Implementations

impl<'a> IntoIterator for &'a Events[src]

type Item = Event

The type of the elements being iterated over.

type IntoIter = Iter<'a>

Which kind of iterator are we turning this into?

impl IntoIterator for Events[src]

type Item = Event

The type of the elements being iterated over.

type IntoIter = IntoIter

Which kind of iterator are we turning this into?

impl Debug for Events[src]

Auto Trait Implementations

impl Send for Events

impl Sync for Events

Blanket Implementations

impl<T> From for T[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.