pub struct JsonServer<S> {
pub inner: Arc<S>,
}
Fields§
§inner: Arc<S>
Trait Implementations§
Source§impl<S: Service + JsonService + 'static> Service for JsonServer<S>
impl<S: Service + JsonService + 'static> Service for JsonServer<S>
Auto Trait Implementations§
impl<S> Freeze for JsonServer<S>
impl<S> RefUnwindSafe for JsonServer<S>where
S: RefUnwindSafe,
impl<S> Send for JsonServer<S>
impl<S> Sync for JsonServer<S>
impl<S> Unpin for JsonServer<S>
impl<S> UnwindSafe for JsonServer<S>where
S: RefUnwindSafe,
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