Struct tetsy_runtime::RuntimeHandle [−][src]
A handle to a runtime. Dropping the handle will cause runtime to shutdown.
Implementations
impl RuntimeHandle
[src]
pub fn wait(self) -> Result<()>
[src]
Blocks current thread and waits until the runtime is finished.
pub fn close(self)
[src]
Finishes this runtime.
Trait Implementations
impl Drop for RuntimeHandle
[src]
impl From<Runtime> for RuntimeHandle
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RuntimeHandle
impl Send for RuntimeHandle
impl Sync for RuntimeHandle
impl Unpin for RuntimeHandle
impl !UnwindSafe for RuntimeHandle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,