pub struct ReplicationStream { /* private fields */ }Implementations§
Source§impl ReplicationStream
impl ReplicationStream
pub fn new( config: PostgresSourceConfig, source_id: String, dispatchers: Arc<RwLock<Vec<Box<dyn ChangeDispatcher<SourceEventWrapper> + Send + Sync>>>>, status_tx: Arc<RwLock<Option<ComponentEventSender>>>, status: Arc<RwLock<ComponentStatus>>, ) -> Self
pub async fn run(&mut self) -> Result<()>
Auto Trait Implementations§
impl !Freeze for ReplicationStream
impl !RefUnwindSafe for ReplicationStream
impl Send for ReplicationStream
impl Sync for ReplicationStream
impl Unpin for ReplicationStream
impl !UnwindSafe for ReplicationStream
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