pub trait ContentSourceSideEffect:
Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn apply(self: Vc<Self>) -> Vc<Completion>
where Self: Sized;
}Expand description
This trait can be emitted as collectible and will be applied after the request is handled and it’s ensured that it finishes before the next request is handled.
Required Methods§
Trait Implementations§
Source§impl TraitVtablePrototype for Box<dyn ContentSourceSideEffect>
impl TraitVtablePrototype for Box<dyn ContentSourceSideEffect>
Source§impl VcValueTrait for Box<dyn ContentSourceSideEffect>
impl VcValueTrait for Box<dyn ContentSourceSideEffect>
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 ContentSourceSideEffect
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 ContentSourceSideEffect>> for Box<dyn ContentSourceSideEffect>
impl Dynamic<Box<dyn ValueDebug>> for Box<dyn ContentSourceSideEffect>
Available on debug-assertions enabled only.
impl Upcast<Box<dyn ContentSourceSideEffect>> for Box<dyn ContentSourceSideEffect>
impl Upcast<Box<dyn ValueDebug>> for Box<dyn ContentSourceSideEffect>
Available on debug-assertions enabled only.
impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn ContentSourceSideEffect>
Available on debug-assertions enabled only.