pub struct StreamCheckpointConfiguration {
pub workers: usize,
pub prefetch_factor: usize,
pub batch_size: usize,
pub drop_last: bool,
pub loader_seed: u64,
pub rank: usize,
pub pin_request: CheckpointPinRequest,
pub pin_status: CheckpointPinStatus,
}Expand description
Exact streaming configuration, with no sampler state.
Fields§
§workers: usizePositive shard count.
prefetch_factor: usizeMaximum unpublished records per shard.
batch_size: usizeCoordinator batch size.
drop_last: boolGlobal short-tail policy.
loader_seed: u64Task randomness seed.
rank: usizeDistributed task rank.
pin_request: CheckpointPinRequestRequested pinning behavior.
pin_status: CheckpointPinStatusEffective pinning behavior.
Trait Implementations§
Source§impl Clone for StreamCheckpointConfiguration
impl Clone for StreamCheckpointConfiguration
Source§fn clone(&self) -> StreamCheckpointConfiguration
fn clone(&self) -> StreamCheckpointConfiguration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for StreamCheckpointConfiguration
impl<'de> Deserialize<'de> for StreamCheckpointConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StreamCheckpointConfiguration
impl StructuralPartialEq for StreamCheckpointConfiguration
Auto Trait Implementations§
impl Freeze for StreamCheckpointConfiguration
impl RefUnwindSafe for StreamCheckpointConfiguration
impl Send for StreamCheckpointConfiguration
impl Sync for StreamCheckpointConfiguration
impl Unpin for StreamCheckpointConfiguration
impl UnsafeUnpin for StreamCheckpointConfiguration
impl UnwindSafe for StreamCheckpointConfiguration
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