[][src]Enum libuv::handles::fs_poll::FsPollCB

pub enum FsPollCB<'a> {
    CB(Box<dyn FnMut(FsPollHandle, Result<u32>, Stat, Stat) + 'a>),
    Nil,
}

Variants

CB(Box<dyn FnMut(FsPollHandle, Result<u32>, Stat, Stat) + 'a>)
Nil

Implementations

impl<'a> FsPollCB<'a>[src]

pub fn new<CB: Into<FsPollCB<'a>>>(cb: CB) -> FsPollCB<'a>[src]

pub fn is_nil(&self) -> bool[src]

Trait Implementations

impl<'a> Default for FsPollCB<'a>[src]

impl<'a, T, F> From<(&'a T, F)> for FsPollCB<'a> where
    F: Fn(&T, FsPollHandle, Result<u32>, Stat, Stat) + 'static, 
[src]

impl<'a, T, F> From<(&'a mut T, F)> for FsPollCB<'a> where
    F: Fn(&mut T, FsPollHandle, Result<u32>, Stat, Stat) + 'static, 
[src]

impl<'a> From<()> for FsPollCB<'a>[src]

impl<'a, F> From<F> for FsPollCB<'a> where
    F: FnMut(FsPollHandle, Result<u32>, Stat, Stat) + 'a, 
[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for FsPollCB<'a>

impl<'a> !Send for FsPollCB<'a>

impl<'a> !Sync for FsPollCB<'a>

impl<'a> Unpin for FsPollCB<'a>

impl<'a> !UnwindSafe for FsPollCB<'a>

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, 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.