pub struct StorageService<T: Storage + Sync + Send> { /* private fields */ }Implementations§
Source§impl<T: Storage + Sync + Send + 'static> StorageService<T>
impl<T: Storage + Sync + Send + 'static> StorageService<T>
pub fn new(storage: T) -> Self
pub fn run(self) -> (JoinHandle<()>, Sender<StorageCommand>)
Auto Trait Implementations§
impl<T> Freeze for StorageService<T>where
T: Freeze,
impl<T> RefUnwindSafe for StorageService<T>where
T: RefUnwindSafe,
impl<T> Send for StorageService<T>
impl<T> Sync for StorageService<T>
impl<T> Unpin for StorageService<T>where
T: Unpin,
impl<T> UnwindSafe for StorageService<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