[][src]Struct libuv::requests::work::WorkReq

pub struct WorkReq { /* fields omitted */ }

Work request type.

Implementations

impl WorkReq[src]

pub fn new<CB: Into<WorkCB<'static>>, ACB: Into<AfterWorkCB<'static>>>(
    work_cb: CB,
    after_work_cb: ACB
) -> Result<WorkReq>
[src]

Create a new work request

pub fn loop(&self) -> Loop[src]

Loop that started this request and where completion will be reported

pub fn destroy(&mut self)[src]

Trait Implementations

impl Clone for WorkReq[src]

impl Copy for WorkReq[src]

impl From<WorkReq> for Req[src]

impl ReqTrait for WorkReq[src]

impl ToReq for WorkReq[src]

Auto Trait Implementations

impl RefUnwindSafe for WorkReq

impl !Send for WorkReq

impl !Sync for WorkReq

impl Unpin for WorkReq

impl UnwindSafe for WorkReq

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.