Struct cdc::endpoint::Initializer[][src]

struct Initializer {
    sched: Scheduler<Task>,
    sink: Sink,
    region_id: u64,
    observe_id: ObserveID,
    downstream_id: DownstreamID,
    downstream_state: Arc<AtomicCell<DownstreamState>>,
    conn_id: ConnID,
    request_id: u64,
    checkpoint_ts: TimeStamp,
    txn_extra_op: TxnExtraOp,
    speed_limter: Limiter,
    max_scan_batch_bytes: usize,
    max_scan_batch_size: usize,
    build_resolver: bool,
}

Fields

sched: Scheduler<Task>sink: Sinkregion_id: u64observe_id: ObserveIDdownstream_id: DownstreamIDdownstream_state: Arc<AtomicCell<DownstreamState>>conn_id: ConnIDrequest_id: u64checkpoint_ts: TimeStamptxn_extra_op: TxnExtraOpspeed_limter: Limitermax_scan_batch_bytes: usizemax_scan_batch_size: usizebuild_resolver: bool

Implementations

impl Initializer[src]

async fn on_change_cmd(&mut self, resp: ReadResponse<RocksSnapshot>)[src]

async fn async_incremental_scan<S: Snapshot + 'static>(
    &mut self,
    snap: S,
    region: Region,
    require_barrier: bool
)
[src]

async fn scan_batch<S: Snapshot>(
    &self,
    scanner: &mut DeltaScanner<S>,
    resolver: Option<&mut Resolver>
) -> Result<Vec<Option<TxnEntry>>>
[src]

async fn sink_scan_events(
    &mut self,
    entries: Vec<Option<TxnEntry>>,
    done: bool,
    require_barrier: bool
) -> Result<()>
[src]

fn finish_building_resolver(
    &self,
    resolver: Resolver,
    region: Region,
    takes: Duration
)
[src]

fn deregister_downstream(&self, err: Option<Error>)[src]

Auto Trait Implementations

impl !RefUnwindSafe for Initializer

impl Send for Initializer

impl Sync for Initializer

impl Unpin for Initializer

impl !UnwindSafe for Initializer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<V, W> ConvertFrom<W> for V where
    W: ConvertTo<V>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]