Skip to main content

WorkspaceQueryPort

Trait WorkspaceQueryPort 

Source
pub trait WorkspaceQueryPort {
    // Required methods
    fn snapshot(&self) -> Option<&WorkspaceSnapshot>;
    fn snapshot_arc(&self) -> Option<Arc<WorkspaceSnapshot>>;
    fn view(&self) -> Option<WorkspaceView<'_>>;
    fn last_failure(&self) -> Option<&WorkspaceFailure>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§