Struct async_executors::exec::TokioTpBuilder [−][src]
pub struct TokioTpBuilder { /* fields omitted */ }
tokio_tp
only.Expand description
Builder to create a TokioTp
executor. This guarantees that TokioTp
always has a runtime that is multi-threaded,
as tokio does not make this information available on it’s Runtime
type.
Further allows you access to the tokio builder so you can set the other configuration options on it as you see fit.
Implementations
Returns the builder from tokio so you can configure it, see: Builder.
If you mem::swap
it, your warranty is void.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TokioTpBuilder
impl Send for TokioTpBuilder
impl Sync for TokioTpBuilder
impl Unpin for TokioTpBuilder
impl !UnwindSafe for TokioTpBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more