pub struct AcknowledgementObservation { /* private fields */ }Expand description
Owned acknowledgement identity passed to a slot writer.
Implementations§
Source§impl AcknowledgementObservation
impl AcknowledgementObservation
Sourcepub const fn generation(self) -> u64
pub const fn generation(self) -> u64
Returns the acknowledged generation.
Sourcepub const fn slot_index(self) -> u32
pub const fn slot_index(self) -> u32
Returns the acknowledged producer slot.
Sourcepub const fn cell_index(self) -> u32
pub const fn cell_index(self) -> u32
Returns the exact acknowledgement cell.
Trait Implementations§
Source§impl Clone for AcknowledgementObservation
impl Clone for AcknowledgementObservation
Source§fn clone(&self) -> AcknowledgementObservation
fn clone(&self) -> AcknowledgementObservation
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 moreimpl Copy for AcknowledgementObservation
Source§impl Debug for AcknowledgementObservation
impl Debug for AcknowledgementObservation
impl Eq for AcknowledgementObservation
impl StructuralPartialEq for AcknowledgementObservation
Auto Trait Implementations§
impl Freeze for AcknowledgementObservation
impl RefUnwindSafe for AcknowledgementObservation
impl Send for AcknowledgementObservation
impl Sync for AcknowledgementObservation
impl Unpin for AcknowledgementObservation
impl UnsafeUnpin for AcknowledgementObservation
impl UnwindSafe for AcknowledgementObservation
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