pub trait Endpoint:
Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required methods
fn output(self: Vc<Self>) -> Vc<EndpointOutput>
where Self: Sized;
fn server_changed(self: Vc<Self>) -> Vc<Completion>
where Self: Sized;
fn client_changed(self: Vc<Self>) -> Vc<Completion>
where Self: Sized;
fn entries(self: Vc<Self>) -> Vc<GraphEntries>
where Self: Sized;
fn module_graphs(self: Vc<Self>) -> Vc<ModuleGraphs>
where Self: Sized;
fn project(self: Vc<Self>) -> Vc<Project>
where Self: Sized;
// Provided method
fn additional_entries(
self: Vc<Self>,
_graph: Vc<ModuleGraph>,
) -> Vc<GraphEntries>
where Self: Sized { ... }
}Required Methods§
fn output(self: Vc<Self>) -> Vc<EndpointOutput>where
Self: Sized,
fn server_changed(self: Vc<Self>) -> Vc<Completion>where
Self: Sized,
fn client_changed(self: Vc<Self>) -> Vc<Completion>where
Self: Sized,
Sourcefn entries(self: Vc<Self>) -> Vc<GraphEntries>where
Self: Sized,
fn entries(self: Vc<Self>) -> Vc<GraphEntries>where
Self: Sized,
The entry modules for the modules graph.
fn module_graphs(self: Vc<Self>) -> Vc<ModuleGraphs>where
Self: Sized,
Provided Methods§
Sourcefn additional_entries(
self: Vc<Self>,
_graph: Vc<ModuleGraph>,
) -> Vc<GraphEntries>where
Self: Sized,
fn additional_entries(
self: Vc<Self>,
_graph: Vc<ModuleGraph>,
) -> Vc<GraphEntries>where
Self: Sized,
Additional entry modules for the module graph. This may read the module graph and return additional modules.
Trait Implementations§
Source§impl VcValueTrait for Box<dyn Endpoint>
impl VcValueTrait for Box<dyn Endpoint>
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 Endpoint
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 Endpoint>> for Box<dyn Endpoint>
impl Dynamic<Box<dyn ValueDebug>> for Box<dyn Endpoint>
Available on debug-assertions enabled only.
impl Upcast<Box<dyn Endpoint>> for Box<dyn Endpoint>
impl Upcast<Box<dyn ValueDebug>> for Box<dyn Endpoint>
Available on debug-assertions enabled only.
impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn Endpoint>
Available on debug-assertions enabled only.