[−][src]Struct libuv::requests::work::WorkReq
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]
work_cb: CB,
after_work_cb: ACB
) -> Result<WorkReq>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,