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;
// 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,
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.