Struct hyper::service::make::MakeServiceFn
source · pub struct MakeServiceFn<F> {
f: F,
}
Expand description
MakeService
returned from make_service_fn
Fields§
§f: F
Trait Implementations§
source§impl<F: Clone> Clone for MakeServiceFn<F>
impl<F: Clone> Clone for MakeServiceFn<F>
source§fn clone(&self) -> MakeServiceFn<F>
fn clone(&self) -> MakeServiceFn<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 for MakeServiceFn<F>
impl<F> Debug for MakeServiceFn<F>
source§impl<'t, F, Ret, Target, Svc, MkErr> Service<&'t Target> for MakeServiceFn<F>
impl<'t, F, Ret, Target, Svc, MkErr> Service<&'t Target> for MakeServiceFn<F>
impl<F: Copy> Copy for MakeServiceFn<F>
Auto Trait Implementations§
impl<F> Freeze for MakeServiceFn<F>where
F: Freeze,
impl<F> RefUnwindSafe for MakeServiceFn<F>where
F: RefUnwindSafe,
impl<F> Send for MakeServiceFn<F>where
F: Send,
impl<F> Sync for MakeServiceFn<F>where
F: Sync,
impl<F> Unpin for MakeServiceFn<F>where
F: Unpin,
impl<F> UnwindSafe for MakeServiceFn<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