[−][src]Enum libuv::handles::streams::stream::ConnectionCB
Variants
CB(Box<dyn FnMut(StreamHandle, Result<u32>) + 'a>)
Implementations
impl<'a> ConnectionCB<'a>
[src]
pub fn new<CB: Into<ConnectionCB<'a>>>(cb: CB) -> ConnectionCB<'a>
[src]
pub fn is_nil(&self) -> bool
[src]
Trait Implementations
impl<'a> Default for ConnectionCB<'a>
[src]
fn default() -> ConnectionCB<'a>
[src]
impl<'a, T, F> From<(&'a T, F)> for ConnectionCB<'a> where
F: Fn(&T, StreamHandle, Result<u32>) + 'static,
[src]
F: Fn(&T, StreamHandle, Result<u32>) + 'static,
impl<'a, T, F> From<(&'a mut T, F)> for ConnectionCB<'a> where
F: Fn(&mut T, StreamHandle, Result<u32>) + 'static,
[src]
F: Fn(&mut T, StreamHandle, Result<u32>) + 'static,
impl<'a> From<()> for ConnectionCB<'a>
[src]
fn from(_: ()) -> ConnectionCB<'a>
[src]
impl<'a, F> From<F> for ConnectionCB<'a> where
F: FnMut(StreamHandle, Result<u32>) + 'a,
[src]
F: FnMut(StreamHandle, Result<u32>) + 'a,
fn from(f: F) -> ConnectionCB<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ConnectionCB<'a>
impl<'a> !Send for ConnectionCB<'a>
impl<'a> !Sync for ConnectionCB<'a>
impl<'a> Unpin for ConnectionCB<'a>
impl<'a> !UnwindSafe for ConnectionCB<'a>
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, 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>,