Struct sod::ArcService
source · pub struct ArcService<I, S: Service<I>> { /* private fields */ }Expand description
A Service, which encapsulates an Arc<Service<Input>>.
This service can encapsulate a MutexService, providing a Send + Sync service that can be cloned and referenced by multiple threads.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<I, S> RefUnwindSafe for ArcService<I, S>where S: RefUnwindSafe,
impl<I, S> Send for ArcService<I, S>where S: Send + Sync,
impl<I, S> Sync for ArcService<I, S>where S: Send + Sync,
impl<I, S> Unpin for ArcService<I, S>
impl<I, S> UnwindSafe for ArcService<I, 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