pub struct StandalonePersistenceService<S: PersistenceStore> { /* private fields */ }Expand description
Standalone Persistence Service (without real DDS)
Uses channels for sample input/output, useful for testing and CLI tools.
Implementations§
Source§impl<S: PersistenceStore + Send + Sync + 'static> StandalonePersistenceService<S>
impl<S: PersistenceStore + Send + Sync + 'static> StandalonePersistenceService<S>
Sourcepub fn create_subscriber(&self) -> (StandaloneSubscriber<S>, Sender<Sample>)
pub fn create_subscriber(&self) -> (StandaloneSubscriber<S>, Sender<Sample>)
Create a subscriber that accepts samples via channel
Sourcepub fn create_publisher(&self) -> StandalonePublisher<S>
pub fn create_publisher(&self) -> StandalonePublisher<S>
Create a publisher that replays via callback
Auto Trait Implementations§
impl<S> Freeze for StandalonePersistenceService<S>
impl<S> !RefUnwindSafe for StandalonePersistenceService<S>
impl<S> Send for StandalonePersistenceService<S>
impl<S> Sync for StandalonePersistenceService<S>
impl<S> Unpin for StandalonePersistenceService<S>
impl<S> UnsafeUnpin for StandalonePersistenceService<S>
impl<S> !UnwindSafe for StandalonePersistenceService<S>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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