Struct futures_util::fns::OkFn
source · pub struct OkFn<E>(PhantomData<fn(_: E)>);
Tuple Fields§
§0: PhantomData<fn(_: E)>
Trait Implementations§
impl<T> Copy for OkFn<T>
Auto Trait Implementations§
impl<E> Freeze for OkFn<E>
impl<E> RefUnwindSafe for OkFn<E>
impl<E> Send for OkFn<E>
impl<E> Sync for OkFn<E>
impl<E> Unpin for OkFn<E>
impl<E> UnwindSafe for OkFn<E>
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