pub struct Runtime<S, P> { /* private fields */ }
Available on crate feature
tokio
only.Expand description
Execute a Future
in the context of a subscriber with a ForestLayer
.
This type is returned by Builder::build
and Builder::build_with
.
Implementations§
Source§impl<S, P> Runtime<S, WorkerTask<P>>
impl<S, P> Runtime<S, WorkerTask<P>>
Auto Trait Implementations§
impl<S, P> Freeze for Runtime<S, P>
impl<S, P> !RefUnwindSafe for Runtime<S, P>
impl<S, P> Send for Runtime<S, P>
impl<S, P> Sync for Runtime<S, P>
impl<S, P> Unpin for Runtime<S, P>
impl<S, P> !UnwindSafe for Runtime<S, P>
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