melodium_engine/transmission/
blind_output.rs1use async_trait::async_trait;
2use melodium_common::executive::{Output as ExecutiveOutput, TransmissionValue};
3use melodium_common::executive::{SendResult, Value};
4
5#[derive(Debug, Clone)]
6pub struct BlindOutput {}
7
8impl BlindOutput {
9 pub fn new() -> Self {
10 Self {}
11 }
12}
13
14#[async_trait]
15impl ExecutiveOutput for BlindOutput {
16 async fn close(&self) {}
17 async fn send_many(&self, _data: TransmissionValue) -> SendResult {
18 Ok(())
19 }
20 async fn send_one(&self, _data: Value) -> SendResult {
21 Ok(())
22 }
23}