pub struct RegisteredNode<C: ExecutableNode> { /* private fields */ }Expand description
Opaque handle returned by
ExecutorNodeRuntime::register_node.
C distinguishes handles at the type level so a caller who keeps
the handle can later (post-M.5.a.3) recover a typed mut-state
borrow. For today the handle is purely a witness that registration
succeeded.
Implementations§
Source§impl<C: ExecutableNode> RegisteredNode<C>
impl<C: ExecutableNode> RegisteredNode<C>
Auto Trait Implementations§
impl<C> Freeze for RegisteredNode<C>
impl<C> RefUnwindSafe for RegisteredNode<C>
impl<C> Send for RegisteredNode<C>
impl<C> Sync for RegisteredNode<C>
impl<C> Unpin for RegisteredNode<C>
impl<C> UnsafeUnpin for RegisteredNode<C>
impl<C> UnwindSafe for RegisteredNode<C>
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