Struct dynamo_subscriber::types::Lineages
source · pub struct Lineages(/* private fields */);Expand description
A representation of group of shard lineage(parent and children).
Implementations§
source§impl Lineages
impl Lineages
sourcepub async fn get_records<Client>(
self,
client: Arc<Client>
) -> (Vec<Shard>, Vec<Record>)where
Client: DynamodbClient + 'static,
pub async fn get_records<Client>( self, client: Arc<Client> ) -> (Vec<Shard>, Vec<Record>)where Client: DynamodbClient + 'static,
Get records in the correct order and shards with renewed shard iterator ids.
Each lineage is processed in the correct order (parent shard is processed before the children), and lineages without any releationships are processed concurrently.
Returned records are sorted by its sequence number.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Lineages
impl Send for Lineages
impl Sync for Lineages
impl Unpin for Lineages
impl UnwindSafe for Lineages
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.