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 TraitVtablePrototype for Box<dyn NodeBackend>
impl TraitVtablePrototype for Box<dyn NodeBackend>
Source§impl VcValueTrait for Box<dyn NodeBackend>
impl VcValueTrait for Box<dyn NodeBackend>
Source§const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
The per-trait vtable registry, populated at program load by
#[ctor::ctor]
functions emitted by each #[turbo_tasks::value_impl] expansion. Read moretype ValueTrait = dyn NodeBackend
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
impl Dynamic<Box<dyn NodeBackend>> for Box<dyn NodeBackend>
impl Dynamic<Box<dyn Sealed>> for Box<dyn NodeBackend>
impl Dynamic<Box<dyn ValueDebug>> for Box<dyn NodeBackend>
Available on debug-assertions enabled only.
impl Upcast<Box<dyn NodeBackend>> for Box<dyn NodeBackend>
impl Upcast<Box<dyn Sealed>> for Box<dyn NodeBackend>
impl Upcast<Box<dyn ValueDebug>> for Box<dyn NodeBackend>
Available on debug-assertions enabled only.
impl UpcastStrict<Box<dyn Sealed>> for Box<dyn NodeBackend>
impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn NodeBackend>
Available on debug-assertions enabled only.