pub struct SessionCanvasUnavailableData {
pub canvas_id: String,
pub extension_id: String,
pub instance_id: String,
}Expand description
Session event “session.canvas.unavailable”. Transient signal that an open canvas instance’s provider has dropped (for example the extension is reloading mid-session). The host should keep the panel mounted and surface a reconnecting affordance rather than tearing it down; a subsequent session.canvas.opened for the same instanceId clears the affordance once the provider reconnects with a fresh url. Ephemeral and never persisted, so it is never replayed on cold resume.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§canvas_id: StringProvider-local canvas identifier
extension_id: StringOwning provider identifier
instance_id: StringStable caller-supplied identifier of the canvas instance whose provider became unavailable
Trait Implementations§
Source§fn clone(&self) -> SessionCanvasUnavailableData
fn clone(&self) -> SessionCanvasUnavailableData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more