pub struct RuntimeExternalToolSurfaceHandle { /* private fields */ }Expand description
Runtime-backed ExternalToolSurfaceHandle impl.
Implementations§
Trait Implementations§
Source§impl ExternalToolSurfaceHandle for RuntimeExternalToolSurfaceHandle
impl ExternalToolSurfaceHandle for RuntimeExternalToolSurfaceHandle
fn apply_surface_input( &self, input: ExternalToolSurfaceInput, ) -> Result<ExternalToolSurfaceTransition, DslTransitionError>
fn register(&self, surface_id: String) -> Result<(), DslTransitionError>
fn stage_add( &self, surface_id: String, now_ms: u64, ) -> Result<(), DslTransitionError>
fn stage_remove( &self, surface_id: String, now_ms: u64, ) -> Result<(), DslTransitionError>
fn stage_reload( &self, surface_id: String, now_ms: u64, ) -> Result<(), DslTransitionError>
fn apply_boundary( &self, surface_id: String, now_ms: u64, staged_intent_sequence: u64, applied_at_turn: u64, ) -> Result<(), DslTransitionError>
fn mark_pending_succeeded( &self, surface_id: String, pending_task_sequence: u64, staged_intent_sequence: u64, ) -> Result<(), DslTransitionError>
fn mark_pending_failed( &self, surface_id: String, pending_task_sequence: u64, staged_intent_sequence: u64, cause: ExternalToolSurfaceFailureCause, ) -> Result<(), DslTransitionError>
fn call_started(&self, surface_id: String) -> Result<(), DslTransitionError>
fn call_finished(&self, surface_id: String) -> Result<(), DslTransitionError>
fn finalize_removal_clean( &self, surface_id: String, ) -> Result<(), DslTransitionError>
fn finalize_removal_forced( &self, surface_id: String, ) -> Result<(), DslTransitionError>
fn snapshot_aligned(&self, epoch: u64) -> Result<(), DslTransitionError>
fn shutdown_surface(&self) -> Result<(), DslTransitionError>
fn surface_snapshot(&self, surface_id: &str) -> Option<SurfaceSnapshot>
fn diagnostic_snapshot(&self) -> SurfaceDiagnosticSnapshot
fn visible_surfaces(&self) -> BTreeSet<String>
fn removing_surfaces(&self) -> BTreeSet<String>
fn pending_surfaces(&self) -> BTreeSet<String>
fn has_pending_or_staged(&self) -> bool
fn snapshot_epoch(&self) -> u64
fn snapshot_aligned_epoch(&self) -> u64
Auto Trait Implementations§
impl Freeze for RuntimeExternalToolSurfaceHandle
impl RefUnwindSafe for RuntimeExternalToolSurfaceHandle
impl Send for RuntimeExternalToolSurfaceHandle
impl Sync for RuntimeExternalToolSurfaceHandle
impl Unpin for RuntimeExternalToolSurfaceHandle
impl UnsafeUnpin for RuntimeExternalToolSurfaceHandle
impl UnwindSafe for RuntimeExternalToolSurfaceHandle
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