pub struct GraphObserveOne { /* private fields */ }Expand description
Single-node observe handle (canonical §3.6.2). D246: holds a
Core-free Graph; &Core is passed per call.
Implementations§
Source§impl GraphObserveOne
impl GraphObserveOne
Sourcepub fn subscribe(&self, core: &Core, sink: Sink) -> ObserveSub
pub fn subscribe(&self, core: &Core, sink: Sink) -> ObserveSub
Subscribe a sink. Returns an ObserveSub id pair — detach
owner-invoked (D246 rule 3).
Sourcepub fn resume(
&self,
core: &Core,
lock: LockId,
) -> Result<Option<ResumeReport>, PauseError>
pub fn resume( &self, core: &Core, lock: LockId, ) -> Result<Option<ResumeReport>, PauseError>
Sourcepub fn invalidate(&self, core: &Core)
pub fn invalidate(&self, core: &Core)
Send [INVALIDATE] upstream.
Auto Trait Implementations§
impl Freeze for GraphObserveOne
impl !RefUnwindSafe for GraphObserveOne
impl !Send for GraphObserveOne
impl !Sync for GraphObserveOne
impl Unpin for GraphObserveOne
impl UnsafeUnpin for GraphObserveOne
impl !UnwindSafe for GraphObserveOne
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