[][src]Struct libuv::handles::check::CheckHandle

pub struct CheckHandle { /* fields omitted */ }

Check handles will run the given callback once per loop iteration, right after polling for i/o.

Implementations

impl CheckHandle[src]

pub fn new(r#loop: &Loop) -> Result<CheckHandle>[src]

Create and initialize a new check handle

pub fn start<CB: Into<CheckCB<'static>>>(&mut self, cb: CB) -> Result<()>[src]

Start the handle with the given callback. This function always succeeds, except when cb is ().

pub fn stop(&mut self) -> Result<()>[src]

Stop the handle, the callback will no longer be called. This function always succeeds.

Trait Implementations

impl Clone for CheckHandle[src]

impl Copy for CheckHandle[src]

impl From<CheckHandle> for Handle[src]

impl HandleTrait for CheckHandle[src]

impl ToHandle for CheckHandle[src]

impl TryFrom<Handle> for CheckHandle[src]

type Error = ConversionError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.