pub struct FidlServiceServerConnector<F, P, Output>{ /* private fields */ }
Expand description
A wrapper for functions from ServerEnd
to Output
which implements
Service
.
Trait Implementations§
source§impl<F, P, Output> From<F> for FidlServiceServerConnector<F, P, Output>
impl<F, P, Output> From<F> for FidlServiceServerConnector<F, P, Output>
source§impl<F, P, Output> Service for FidlServiceServerConnector<F, P, Output>
impl<F, P, Output> Service for FidlServiceServerConnector<F, P, Output>
Auto Trait Implementations§
impl<F, P, Output> Freeze for FidlServiceServerConnector<F, P, Output>
impl<F, P, Output> RefUnwindSafe for FidlServiceServerConnector<F, P, Output>where
P: ProtocolMarker + Sync + Send + 'static + RefUnwindSafe,
F: FnOnce(ServerEnd<P>) + RefUnwindSafe,
Output: RefUnwindSafe,
impl<F, P, Output> Send for FidlServiceServerConnector<F, P, Output>
impl<F, P, Output> Sync for FidlServiceServerConnector<F, P, Output>
impl<F, P, Output> Unpin for FidlServiceServerConnector<F, P, Output>
impl<F, P, Output> UnwindSafe for FidlServiceServerConnector<F, P, Output>where
P: ProtocolMarker + Sync + Send + 'static + UnwindSafe,
F: FnOnce(ServerEnd<P>) + UnwindSafe,
Output: 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