pub enum PoolKind {
Sync,
Async,
}Expand description
Pool kind label. LocalSync + LocalAsync ship in 1.0 (D20). The kind drives the
NODE’S behavior (async-paused buffering / per-invocation ctx snapshot — see
crate::node); the dispatcher invoke is sync void either way (R-sync-core).
Variants§
Sync
LocalSync — the fn runs to completion synchronously.
Async
LocalAsync — the fn kicks off async work and emits later via a stashed
crate::ctx::DeferredCtx (the emit serializes back onto the single thread).
Trait Implementations§
impl Copy for PoolKind
impl Eq for PoolKind
impl StructuralPartialEq for PoolKind
Auto Trait Implementations§
impl Freeze for PoolKind
impl RefUnwindSafe for PoolKind
impl Send for PoolKind
impl Sync for PoolKind
impl Unpin for PoolKind
impl UnsafeUnpin for PoolKind
impl UnwindSafe for PoolKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.