pub struct AcknowledgementWriter<'a> { /* private fields */ }Expand description
Release-store capability for a cell in a writable mapping.
Implementations§
Source§impl<'a> AcknowledgementWriter<'a>
impl<'a> AcknowledgementWriter<'a>
Sourcepub unsafe fn bind(
cell: &'a AcknowledgementCell,
binding: AcknowledgementWriterBinding,
) -> Self
pub unsafe fn bind( cell: &'a AcknowledgementCell, binding: AcknowledgementWriterBinding, ) -> Self
Binds a cell reached through its owner’s writable mapping.
§Safety
cell must be the checked route cell described by binding; this
process must be the only writer of its containing mapping. No other
writer capability may be bound for this route while this value exists.
Sourcepub fn acknowledge(
&mut self,
observation: SlotObservation,
) -> Result<(), AcknowledgementError>
pub fn acknowledge( &mut self, observation: SlotObservation, ) -> Result<(), AcknowledgementError>
Acknowledges an exact observed slot identity with Release ordering.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AcknowledgementWriter<'a>
impl<'a> !Sync for AcknowledgementWriter<'a>
impl<'a> !UnwindSafe for AcknowledgementWriter<'a>
impl<'a> Freeze for AcknowledgementWriter<'a>
impl<'a> Send for AcknowledgementWriter<'a>
impl<'a> Unpin for AcknowledgementWriter<'a>
impl<'a> UnsafeUnpin for AcknowledgementWriter<'a>
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