[−][src]Struct queen_io::Poll
Methods
impl Poll
[src]
pub fn new() -> Result<Poll>
[src]
pub fn wait(
&self,
events: &mut Events,
timeout: Option<Duration>
) -> Result<usize>
[src]
&self,
events: &mut Events,
timeout: Option<Duration>
) -> Result<usize>
pub fn register<E: ?Sized>(
&self,
handle: &E,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()> where
E: Evented,
[src]
&self,
handle: &E,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()> where
E: Evented,
pub fn reregister<E: ?Sized>(
&self,
handle: &E,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()> where
E: Evented,
[src]
&self,
handle: &E,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()> where
E: Evented,
pub fn deregister<E: ?Sized>(&self, handle: &E) -> Result<()> where
E: Evented,
[src]
E: Evented,
Trait Implementations
Auto Trait Implementations
impl Send for Poll
impl Unpin for Poll
impl Sync for Poll
impl UnwindSafe for Poll
impl RefUnwindSafe for Poll
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
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>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Rfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut R
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,