pub struct PublicationPin<'a> { /* private fields */ }Expand description
Holds this store’s authority IMMOBILE.
While alive, both floor publication and poison transitions are blocked:
publication needs live.write(), and every poison transition on a live core
takes poison_gate. That is what lets a consumer validate and then act as ONE
operation rather than two interleavable steps (Kyra OLB-2B-E3c).
Implementations§
Source§impl PublicationPin<'_>
impl PublicationPin<'_>
Sourcepub fn generation(&self) -> Result<BarrieredGeneration, GenerationExhausted>
pub fn generation(&self) -> Result<BarrieredGeneration, GenerationExhausted>
The generation this pin is holding still, or Err if exhausted.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PublicationPin<'a>
impl<'a> !Send for PublicationPin<'a>
impl<'a> !UnwindSafe for PublicationPin<'a>
impl<'a> Freeze for PublicationPin<'a>
impl<'a> Sync for PublicationPin<'a>
impl<'a> Unpin for PublicationPin<'a>
impl<'a> UnsafeUnpin for PublicationPin<'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