pub struct BatchParticipantTokenRange { /* private fields */ }Expand description
Exact packed-token projection for one participant in a scheduler step. The range addresses the shared batch transient arena; it is derived from the canonical participant work and cannot be supplied independently.
Implementations§
Source§impl BatchParticipantTokenRange
impl BatchParticipantTokenRange
pub const fn participant(&self) -> BatchParticipantAuthority
pub fn immediate_token_range(&self) -> Range<u64> ⓘ
pub const fn immediate_tokens(&self) -> u64
pub fn source_token_range(&self) -> Range<u64> ⓘ
pub const fn full_input_tokens(&self) -> u64
Trait Implementations§
Source§impl Clone for BatchParticipantTokenRange
impl Clone for BatchParticipantTokenRange
Source§fn clone(&self) -> BatchParticipantTokenRange
fn clone(&self) -> BatchParticipantTokenRange
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 Debug for BatchParticipantTokenRange
impl Debug for BatchParticipantTokenRange
impl Eq for BatchParticipantTokenRange
impl StructuralPartialEq for BatchParticipantTokenRange
Auto Trait Implementations§
impl Freeze for BatchParticipantTokenRange
impl RefUnwindSafe for BatchParticipantTokenRange
impl Send for BatchParticipantTokenRange
impl Sync for BatchParticipantTokenRange
impl Unpin for BatchParticipantTokenRange
impl UnsafeUnpin for BatchParticipantTokenRange
impl UnwindSafe for BatchParticipantTokenRange
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