pub struct Group;Expand description
Nesting marker plugin for group entries.
Starting a group produces an active fiber whose context scopes the subtree’s fibers and effects; the loader is the intended driver.
Implementations§
Source§impl Group
impl Group
Sourcepub fn handle() -> PluginHandle
pub fn handle() -> PluginHandle
A fresh handle around a Group plugin.
Each call yields a distinct cordis::PluginKey identity, matching
one handle per entry.
Trait Implementations§
impl Copy for Group
impl Eq for Group
Source§impl Plugin for Group
impl Plugin for Group
Source§fn apply(
&self,
_ctx: Context,
_config: Value,
) -> Pin<Box<dyn Future<Output = Result<PluginOutput, CordisError>> + Send>>
fn apply( &self, _ctx: Context, _config: Value, ) -> Pin<Box<dyn Future<Output = Result<PluginOutput, CordisError>> + Send>>
Start this plugin in
ctx.Source§fn validate_config(&self, config: Value) -> Result<Value, CordisError>
fn validate_config(&self, config: Value) -> Result<Value, CordisError>
Validate and optionally normalize raw config before startup.
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.