pub trait Named {
    // Required method
    fn get_name(&self) -> &str;
}
Expand description

Give the object a name.

Required Methods§

source

fn get_name(&self) -> &str

Get the name of this object.

Implementors§

source§

impl Named for Task<'_>

source§

impl Named for SchedulerImpl<'_>

source§

impl Named for CondvarBlocker

source§

impl Named for DelayBlocker

source§

impl<'s, HasSchedulerImpl: HasScheduler<'s>> Named for HasSchedulerImpl

source§

impl<Param, Yield, Return> Named for CoroutineImpl<'_, Param, Yield, Return>
where Param: UnwindSafe, Yield: Copy + Eq + PartialEq + UnwindSafe, Return: Copy + Eq + PartialEq + UnwindSafe,