Struct wasmer_cli::commands::run::MonitoringRuntime
source · struct MonitoringRuntime<R> {
runtime: Arc<R>,
progress: ProgressBar,
}
Fields§
§runtime: Arc<R>
§progress: ProgressBar
Implementations§
source§impl<R> MonitoringRuntime<R>
impl<R> MonitoringRuntime<R>
Trait Implementations§
source§impl<R: Debug> Debug for MonitoringRuntime<R>
impl<R: Debug> Debug for MonitoringRuntime<R>
source§impl<R: Runtime + Send + Sync> Runtime for MonitoringRuntime<R>
impl<R: Runtime + Send + Sync> Runtime for MonitoringRuntime<R>
source§fn networking(&self) -> &DynVirtualNetworking
fn networking(&self) -> &DynVirtualNetworking
Provides access to all the networking related functions such as sockets.
source§fn task_manager(&self) -> &Arc<dyn VirtualTaskManager>
fn task_manager(&self) -> &Arc<dyn VirtualTaskManager>
Retrieve the active [
VirtualTaskManager
].source§fn http_client(&self) -> Option<&DynHttpClient>
fn http_client(&self) -> Option<&DynHttpClient>
Get a custom HTTP client
source§fn tty(&self) -> Option<&(dyn TtyBridge + Send + Sync)>
fn tty(&self) -> Option<&(dyn TtyBridge + Send + Sync)>
Get access to the TTY used by the environment.
§fn load_module<'a>(
&'a self,
wasm: &'a [u8],
) -> Pin<Box<dyn Future<Output = Result<Module, SpawnError>> + Send + 'a>>
fn load_module<'a>( &'a self, wasm: &'a [u8], ) -> Pin<Box<dyn Future<Output = Result<Module, SpawnError>> + Send + 'a>>
Load a a Webassembly module, trying to use a pre-compiled version if possible.
§fn load_module_sync(&self, wasm: &[u8]) -> Result<Module, SpawnError>
fn load_module_sync(&self, wasm: &[u8]) -> Result<Module, SpawnError>
Load a a Webassembly module, trying to use a pre-compiled version if possible. Read more
§fn on_taint(&self, _reason: TaintReason)
fn on_taint(&self, _reason: TaintReason)
Callback thats invokes whenever the instance is tainted, tainting can occur
for multiple reasons however the most common is a panic within the process
Auto Trait Implementations§
impl<R> Freeze for MonitoringRuntime<R>
impl<R> RefUnwindSafe for MonitoringRuntime<R>where
R: RefUnwindSafe,
impl<R> Send for MonitoringRuntime<R>
impl<R> Sync for MonitoringRuntime<R>
impl<R> Unpin for MonitoringRuntime<R>
impl<R> UnwindSafe for MonitoringRuntime<R>where
R: RefUnwindSafe,
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> Upcastable for T
impl<T> Upcastable for T
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref
§fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
fn upcast_any_box(self: Box<T>) -> Box<dyn Any>
upcast boxed dyn