pub struct ConnectorRuntime { /* private fields */ }Implementations§
Source§impl ConnectorRuntime
impl ConnectorRuntime
pub fn new( identity: ConnectorIdentity, source: Box<dyn SourceConnector>, encoder: Arc<dyn EventEncoder>, sink: Box<dyn Sink>, checkpoint_store: Arc<dyn CheckpointStore>, config: RuntimeConfig, status: RuntimeStatus, ) -> Self
pub fn signal_sender(&self) -> SignalSender
pub async fn run(self, cancellation: CancellationToken) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectorRuntime
impl !Sync for ConnectorRuntime
impl !UnwindSafe for ConnectorRuntime
impl Forget for ConnectorRuntime
impl Freeze for ConnectorRuntime
impl Move for ConnectorRuntime
impl Send for ConnectorRuntime
impl Unpin for ConnectorRuntime
impl UnsafeUnpin for ConnectorRuntime
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