Struct futures_util::fns::InspectOkFn
source · pub struct InspectOkFn<F>(F);
Tuple Fields§
§0: F
Trait Implementations§
source§impl<F: Clone> Clone for InspectOkFn<F>
impl<F: Clone> Clone for InspectOkFn<F>
source§fn clone(&self) -> InspectOkFn<F>
fn clone(&self) -> InspectOkFn<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<F: Debug> Debug for InspectOkFn<F>
impl<F: Debug> Debug for InspectOkFn<F>
source§impl<'a, F, T, E> Fn1<&'a Result<T, E>> for InspectOkFn<F>
impl<'a, F, T, E> Fn1<&'a Result<T, E>> for InspectOkFn<F>
source§impl<'a, F, T, E> FnMut1<&'a Result<T, E>> for InspectOkFn<F>
impl<'a, F, T, E> FnMut1<&'a Result<T, E>> for InspectOkFn<F>
source§impl<'a, F, T, E> FnOnce1<&'a Result<T, E>> for InspectOkFn<F>
impl<'a, F, T, E> FnOnce1<&'a Result<T, E>> for InspectOkFn<F>
impl<F: Copy> Copy for InspectOkFn<F>
Auto Trait Implementations§
impl<F> Freeze for InspectOkFn<F>where
F: Freeze,
impl<F> RefUnwindSafe for InspectOkFn<F>where
F: RefUnwindSafe,
impl<F> Send for InspectOkFn<F>where
F: Send,
impl<F> Sync for InspectOkFn<F>where
F: Sync,
impl<F> Unpin for InspectOkFn<F>where
F: Unpin,
impl<F> UnwindSafe for InspectOkFn<F>where
F: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more