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 VcValueTrait for Box<dyn ContentSourceSideEffect>
impl VcValueTrait for Box<dyn ContentSourceSideEffect>
type ValueTrait = dyn ContentSourceSideEffect
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.