pub struct SqliteBootstrapProvider { /* private fields */ }Expand description
SQLite bootstrap provider.
Implementations§
Source§impl SqliteBootstrapProvider
impl SqliteBootstrapProvider
pub fn builder() -> SqliteBootstrapBuilder
Trait Implementations§
Source§impl BootstrapProvider for SqliteBootstrapProvider
impl BootstrapProvider for SqliteBootstrapProvider
Source§fn bootstrap<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: BootstrapRequest,
context: &'life1 BootstrapContext,
event_tx: BootstrapEventSender,
_settings: Option<&'life2 SourceSubscriptionSettings>,
) -> Pin<Box<dyn Future<Output = Result<BootstrapResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn bootstrap<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: BootstrapRequest,
context: &'life1 BootstrapContext,
event_tx: BootstrapEventSender,
_settings: Option<&'life2 SourceSubscriptionSettings>,
) -> Pin<Box<dyn Future<Output = Result<BootstrapResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Perform bootstrap operation for the given request.
Sends bootstrap events to the provided channel.
Returns a [
BootstrapResult] carrying the event count and handover metadata. Read moreAuto Trait Implementations§
impl Freeze for SqliteBootstrapProvider
impl RefUnwindSafe for SqliteBootstrapProvider
impl Send for SqliteBootstrapProvider
impl Sync for SqliteBootstrapProvider
impl Unpin for SqliteBootstrapProvider
impl UnsafeUnpin for SqliteBootstrapProvider
impl UnwindSafe for SqliteBootstrapProvider
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