struct ExecutorRuntime {
executor: Executor,
inner: QuicRuntimeRef,
}Expand description
Spawns quinn’s tasks on a karyon Executor; timers and sockets come
from quinn’s own runtime.
Fields§
§executor: Executor§inner: QuicRuntimeRefTrait Implementations§
Source§impl Debug for ExecutorRuntime
impl Debug for ExecutorRuntime
Source§impl Runtime for ExecutorRuntime
impl Runtime for ExecutorRuntime
Source§fn new_timer(&self, i: Instant) -> Pin<Box<dyn AsyncTimer>>
fn new_timer(&self, i: Instant) -> Pin<Box<dyn AsyncTimer>>
Construct a timer that will expire at
iSource§fn spawn(&self, future: Pin<Box<dyn Future<Output = ()> + Send>>)
fn spawn(&self, future: Pin<Box<dyn Future<Output = ()> + Send>>)
Drive
future to completion in the backgroundAuto Trait Implementations§
impl !RefUnwindSafe for ExecutorRuntime
impl !UnwindSafe for ExecutorRuntime
impl Freeze for ExecutorRuntime
impl Send for ExecutorRuntime
impl Sync for ExecutorRuntime
impl Unpin for ExecutorRuntime
impl UnsafeUnpin for ExecutorRuntime
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