layer-shika/crates/domain/src/ports/shell.rs

9 lines
213 B
Rust

use crate::errors::DomainError;
pub trait ShellSystemPort {
fn run(&mut self) -> Result<(), DomainError>;
}
pub trait ShellContextPort {
fn render_frame_if_dirty(&mut self) -> Result<(), DomainError>;
}