pub enum EffectFfi {
Render(RenderOperation),
PluginNotify(PluginNotify),
Plugin(PluginCall),
PluginStream(PluginStreamCall),
}Variants§
Render(RenderOperation)
PluginNotify(PluginNotify)
Fire-and-forget plugin call (shell does not resolve).
Plugin(PluginCall)
Request/response plugin call (shell resolves with a PluginResponse).
PluginStream(PluginStreamCall)
Long-lived subscription: the shell starts a native source and resolves
repeatedly (a PluginResponse per event) until it’s torn down. Powers
Cx::subscribe. Stop it with Cx::unsubscribe (a stream/unsubscribe
notify keyed by PluginStreamCall::key).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EffectFfi
impl<'de> Deserialize<'de> for EffectFfi
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EffectFfi
impl RefUnwindSafe for EffectFfi
impl Send for EffectFfi
impl Sync for EffectFfi
impl Unpin for EffectFfi
impl UnsafeUnpin for EffectFfi
impl UnwindSafe for EffectFfi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more