pub trait NodeBackend:
Sealed
+ Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required methods
fn runtime_module_path(&self) -> RcStr;
fn globals_module_path(&self) -> RcStr;
fn create_pool(&self, options: CreatePoolOptions) -> CreatePoolFuture;
fn scale_down(&self) -> Result<()>;
fn scale_zero(&self) -> Result<()>;
}Required Methods§
fn runtime_module_path(&self) -> RcStr
fn globals_module_path(&self) -> RcStr
fn create_pool(&self, options: CreatePoolOptions) -> CreatePoolFuture
fn scale_down(&self) -> Result<()>
fn scale_zero(&self) -> Result<()>
Trait Implementations§
Source§impl VcValueTrait for Box<dyn NodeBackend>
impl VcValueTrait for Box<dyn NodeBackend>
type ValueTrait = dyn NodeBackend
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
Source§fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>
Returns the vtable for an implementation of this trait.
Panics if ValueTypeId does not implement the trait.