pub struct ReceivedShuffle { /* private fields */ }Expand description
A received shuffle message whose decoded memory remains admitted until the envelope is dropped. Consumers retain it while processing shallow clones of the message or its batch.
Implementations§
Source§impl ReceivedShuffle
impl ReceivedShuffle
Sourcepub const fn peer(&self) -> ShufflePeerId
pub const fn peer(&self) -> ShufflePeerId
Peer that sent this message.
Sourcepub const fn message(&self) -> &ShuffleMessage
pub const fn message(&self) -> &ShuffleMessage
Borrow the message without releasing its inbound admission.
Sourcepub const fn sender_incarnation(&self) -> Uuid
pub const fn sender_incarnation(&self) -> Uuid
Sender process incarnation bound by the stream handshake.
Sourcepub const fn receiver_incarnation(&self) -> Uuid
pub const fn receiver_incarnation(&self) -> Uuid
Receiver process incarnation bound by the stream handshake.
Sourcepub const fn assignment_version(&self) -> u64
pub const fn assignment_version(&self) -> u64
Assignment version carried by the stream that delivered this message.
Sourcepub const fn assignment_digest(&self) -> Option<[u8; 32]>
pub const fn assignment_digest(&self) -> Option<[u8; 32]>
Exact checkpoint assignment-certificate digest carried by a barrier.
Sourcepub const fn recovery_gen(&self) -> u64
pub const fn recovery_gen(&self) -> u64
Recovery generation carried by the stream that delivered this message.
Sourcepub const fn checkpoint_sequence(&self) -> u64
pub const fn checkpoint_sequence(&self) -> u64
Data carries its logical-frame sequence. A barrier carries the exclusive data high-water sequence it closes.
Sourcepub fn into_parts(self) -> (ShuffleMessage, ShuffleBatchAdmission)
pub fn into_parts(self) -> (ShuffleMessage, ShuffleBatchAdmission)
Split the message from any decoded-data admission after its transport scope has been validated.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ReceivedShuffle
impl !UnwindSafe for ReceivedShuffle
impl Freeze for ReceivedShuffle
impl Send for ReceivedShuffle
impl Sync for ReceivedShuffle
impl Unpin for ReceivedShuffle
impl UnsafeUnpin for ReceivedShuffle
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].