1
2
3
4
5
6
7
8
9
10
11
12
//! Type definitions that are shared between crates but have little to no logic.

pub mod audit_event;
pub mod database;
pub mod operations;

pub use crate::rpc::Message;

use tokio_stream::wrappers::ReceiverStream;
use tonic::Status;

pub type MessageStream = ReceiverStream<Result<Message, Status>>;