Struct sp_core::traits::TaskExecutorExt [−][src]
pub struct TaskExecutorExt(pub Box<dyn SpawnNamed>);
Task executor extension.
Implementations
impl TaskExecutorExt
[src]
impl TaskExecutorExt
[src]pub fn new(spawn_handle: impl SpawnNamed + Send + 'static) -> Self
[src]
New instance of task executor extension.
Methods from Deref<Target = Box<dyn SpawnNamed>>
Trait Implementations
impl Deref for TaskExecutorExt
[src]
impl Deref for TaskExecutorExt
[src]impl Extension for TaskExecutorExt
[src]
impl Extension for TaskExecutorExt
[src]fn as_mut_any(&mut self) -> &mut dyn Any
[src]
impl From<Box<dyn SpawnNamed + 'static, Global>> for TaskExecutorExt
[src]
impl From<Box<dyn SpawnNamed + 'static, Global>> for TaskExecutorExt
[src]fn from(inner: Box<dyn SpawnNamed>) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TaskExecutorExt
impl Send for TaskExecutorExt
impl Sync for TaskExecutorExt
impl Unpin for TaskExecutorExt
impl !UnwindSafe for TaskExecutorExt
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]