Reviewed-on: #4 Co-authored-by: Zack <zack@bfpower.io> Co-committed-by: Zack <zack@bfpower.io>
9 lines
198 B
Rust
9 lines
198 B
Rust
use crate::transducer::InvalidValue;
|
|
|
|
pub trait Output {
|
|
type Value: Copy;
|
|
|
|
//TODO: Should this be maybe async?
|
|
fn output(&mut self, setting: Self::Value) -> Result<(), InvalidValue>;
|
|
}
|