pub struct WarpService<T>(pub T);Expand description
A wrapper type for warp::Filter so we can implement shuttle_runtime::Service for it.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> Deref for WarpService<T>
impl<T> Deref for WarpService<T>
Source§impl<T> From<T> for WarpService<T>
impl<T> From<T> for WarpService<T>
Source§impl<T> Service for WarpService<T>
impl<T> Service for WarpService<T>
Auto Trait Implementations§
impl<T> Freeze for WarpService<T>where
T: Freeze,
impl<T> RefUnwindSafe for WarpService<T>where
T: RefUnwindSafe,
impl<T> Send for WarpService<T>where
T: Send,
impl<T> Sync for WarpService<T>where
T: Sync,
impl<T> Unpin for WarpService<T>where
T: Unpin,
impl<T> UnwindSafe for WarpService<T>where
T: 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