pub struct DataPlaneSdkBuilder<C>where
C: TransactionalContext,{ /* private fields */ }Implementations§
Source§impl<C> DataPlaneSdkBuilder<C>where
C: TransactionalContext,
impl<C> DataPlaneSdkBuilder<C>where
C: TransactionalContext,
pub fn with_repo( self, repo: impl DataFlowRepo<Transaction = C::Transaction> + 'static, ) -> Self
pub fn with_control_plane_repo( self, control_plane_repo: impl ControlPlaneRepo<Transaction = C::Transaction> + 'static, ) -> Self
pub fn with_handler( self, handler: impl DataFlowHandler<Transaction = C::Transaction> + 'static, ) -> Self
Sourcepub fn with_client(self, client: Client) -> Self
pub fn with_client(self, client: Client) -> Self
Overrides the reqwest::Client used to send control plane notifications.
Defaults to reqwest::Client::new() when not set.
pub fn build(self) -> Result<DataPlaneSdk<C>, String>
Auto Trait Implementations§
impl<C> !RefUnwindSafe for DataPlaneSdkBuilder<C>
impl<C> !UnwindSafe for DataPlaneSdkBuilder<C>
impl<C> Freeze for DataPlaneSdkBuilder<C>where
C: Freeze,
impl<C> Send for DataPlaneSdkBuilder<C>
impl<C> Sync for DataPlaneSdkBuilder<C>
impl<C> Unpin for DataPlaneSdkBuilder<C>where
C: Unpin,
impl<C> UnsafeUnpin for DataPlaneSdkBuilder<C>where
C: UnsafeUnpin,
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