pub struct AcknowledgementReader<'a> { /* private fields */ }Expand description
Acquire-only capability for a cell in a read-only mapping.
Implementations§
Source§impl<'a> AcknowledgementReader<'a>
impl<'a> AcknowledgementReader<'a>
Sourcepub unsafe fn bind(
cell: &'a AcknowledgementCell,
binding: AcknowledgementReaderBinding,
) -> Self
pub unsafe fn bind( cell: &'a AcknowledgementCell, binding: AcknowledgementReaderBinding, ) -> Self
Binds a cell reached through a read-only mapping.
§Safety
cell must be the checked route cell described by binding and must
remain readable for 'a; this API must not be bound from a writable
alias in the current process.
Sourcepub fn observe(&self) -> AcknowledgementObservation
pub fn observe(&self) -> AcknowledgementObservation
Acquire-observes the exact route identity and current sequence.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AcknowledgementReader<'a>
impl<'a> !UnwindSafe for AcknowledgementReader<'a>
impl<'a> Freeze for AcknowledgementReader<'a>
impl<'a> Send for AcknowledgementReader<'a>
impl<'a> Sync for AcknowledgementReader<'a>
impl<'a> Unpin for AcknowledgementReader<'a>
impl<'a> UnsafeUnpin for AcknowledgementReader<'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