Trait ContentSourceSideEffect

Source
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§

Source

fn apply(self: Vc<Self>) -> Vc<Completion>
where Self: Sized,

Trait Implementations§

Source§

impl VcValueTrait for Box<dyn ContentSourceSideEffect>

Source§

type ValueTrait = dyn ContentSourceSideEffect

Source§

fn get_trait_type_id() -> TraitTypeId

Returns the type id of the trait object.
Source§

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.
Source§

impl Dynamic<Box<dyn ContentSourceSideEffect>> for Box<dyn ContentSourceSideEffect>

Source§

impl Dynamic<Box<dyn ValueDebug>> for Box<dyn ContentSourceSideEffect>

Source§

impl Upcast<Box<dyn ContentSourceSideEffect>> for Box<dyn ContentSourceSideEffect>

Source§

impl Upcast<Box<dyn ValueDebug>> for Box<dyn ContentSourceSideEffect>

Implementors§